src/sync.h
changeset 597 560c0caf14ef
parent 574 3c21749a79a6
child 598 99a445d62317
     1.1 --- a/src/sync.h	Tue May 10 22:03:19 2016 +0200
     1.2 +++ b/src/sync.h	Wed May 11 10:43:10 2016 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 -// sendBeacon() - send a beacon message
     1.8 +// messageToSend() - send a beacon message
     1.9  //
    1.10  //  parameters:
    1.11  //      beacon (in)     message struct with beacon message to send
    1.12 @@ -19,7 +19,7 @@
    1.13  //  return value:
    1.14  //      must return PEP_STATUS_OK or any other value on error
    1.15  
    1.16 -typedef PEP_STATUS (*sendBeacon_t)(message beacon);
    1.17 +typedef PEP_STATUS (*messageToSend_t)(message beacon);
    1.18  
    1.19  
    1.20  typedef enum _sync_handshake_result {
    1.21 @@ -46,7 +46,7 @@
    1.22  // register_sync_callbacks() - register adapter's callbacks
    1.23  //
    1.24  //  parameters:
    1.25 -//      sendBeacon (in)             callback for sending beacon
    1.26 +//      messageToSend (in)             callback for sending beacon
    1.27  //      showHandshake (in)          callback for doing the handshake
    1.28  //
    1.29  //  return value:
    1.30 @@ -56,7 +56,7 @@
    1.31  //      call that BEFORE you're using any other part of the engine
    1.32  
    1.33  DYNAMIC_API PEP_STATUS register_sync_callbacks(
    1.34 -        sendBeacon_t sendBeacon,
    1.35 +        messageToSend_t messageToSend,
    1.36          showHandshake_t showHandshake
    1.37      );
    1.38