CpEpEngine.h
changeset 76 cb4430fb48f8
parent 74 f2531096699e
child 77 aac0bf974fbf
     1.1 --- a/CpEpEngine.h	Wed May 11 20:03:20 2016 +0200
     1.2 +++ b/CpEpEngine.h	Wed May 11 20:14:44 2016 +0200
     1.3 @@ -37,6 +37,7 @@
     1.4          PEP_STATUS status = ::init(&m_session);
     1.5          assert(status == PEP_STATUS_OK);
     1.6          ::register_examine_function(m_session, CpEpEngine::examine_identity, (void *)this);
     1.7 +        ::register_sync_callbacks(m_session, (void*)this, messageToSend, showHandshake);
     1.8          ::log_event(m_session, "Startup", "pEp COM Adapter", NULL, NULL);
     1.9      }
    1.10  
    1.11 @@ -108,7 +109,7 @@
    1.12      typedef locked_queue<pEp_identity_cpp> identity_queue_t;
    1.13      static ::pEp_identity * retrieve_next_identity(void *management);
    1.14      static PEP_STATUS messageToSend(void *obj, const message *msg);
    1.15 -    static sync_handshake_result_s showHandshake(void * obj, const pEp_identity *self, const pEp_identity *partner);
    1.16 +    static sync_handshake_result showHandshake(void * obj, const pEp_identity *self, const pEp_identity *partner);
    1.17  
    1.18      HRESULT error(_bstr_t msg);
    1.19