nicer
authorVolker Birk <vb@pep-project.org>
Wed, 11 May 2016 16:25:19 +0200
changeset 59899a445d62317
parent 597 560c0caf14ef
child 599 d2a023827e42
nicer
src/sync.h
     1.1 --- a/src/sync.h	Wed May 11 10:43:10 2016 +0200
     1.2 +++ b/src/sync.h	Wed May 11 16:25:19 2016 +0200
     1.3 @@ -14,12 +14,12 @@
     1.4  // messageToSend() - send a beacon message
     1.5  //
     1.6  //  parameters:
     1.7 -//      beacon (in)     message struct with beacon message to send
     1.8 +//      msg (in)        message struct with message to send
     1.9  //
    1.10  //  return value:
    1.11  //      must return PEP_STATUS_OK or any other value on error
    1.12  
    1.13 -typedef PEP_STATUS (*messageToSend_t)(message beacon);
    1.14 +typedef PEP_STATUS (*messageToSend_t)(const message *msg);
    1.15  
    1.16  
    1.17  typedef enum _sync_handshake_result {
    1.18 @@ -38,8 +38,8 @@
    1.19  //      result of handshake
    1.20  
    1.21  typedef sync_handshake_result (*showHandshake_t)(
    1.22 -        pEp_identity self,
    1.23 -        pEp_identity partner
    1.24 +        const pEp_identity *self,
    1.25 +        const pEp_identity *partner
    1.26      );
    1.27  
    1.28