CpEpEngine.h
changeset 234 a3cc1847d197
parent 233 27848ed0067c
child 235 581e3f7a92f5
     1.1 --- a/CpEpEngine.h	Fri Feb 03 21:30:26 2017 +0100
     1.2 +++ b/CpEpEngine.h	Sat Feb 11 17:49:02 2017 +0100
     1.3 @@ -145,6 +145,19 @@
     1.4      bool keysync_abort_requested = false;
     1.5      PEP_SESSION keysync_session;
     1.6  
     1.7 +    // Members used for handshake notification dispatch to the background thread.
     1.8 +    static void notify_handshake_background_thread(CpEpEngine* self, LPSTREAM marshaled_callbacks);
     1.9 +    void notify_handshake_deliver_result();
    1.10 +    bool notify_handshake_active = false;
    1.11 +    bool notify_handshake_finished = false;
    1.12 +    std::thread *notify_handshake_thread = NULL;
    1.13 +    pEpIdentity notify_handshake_self;
    1.14 +    pEpIdentity notify_handshake_partner;
    1.15 +    SyncHandshakeSignal notify_handshake_signal;
    1.16 +    SyncHandshakeResult notify_handshake_result;
    1.17 +    LPSTREAM notify_handshake_error_info = NULL;
    1.18 +    HRESULT notify_handshake_error;
    1.19 +
    1.20  public:
    1.21      // runtime config of the adapter
    1.22