pEpObjCAdapter/PEPSync.m
branchIOSAD-103
changeset 740 cb5a98ec43ec
parent 737 ab0636d9da8a
child 746 dbb0deb87940
     1.1 --- a/pEpObjCAdapter/PEPSync.m	Wed Oct 31 09:16:57 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSync.m	Wed Oct 31 09:16:57 2018 +0100
     1.3 @@ -54,7 +54,7 @@
     1.4  
     1.5  // MARK: - Callbacks called by the engine, used in session init
     1.6  
     1.7 -static PEP_STATUS messageToSendObjc(struct _message *msg)
     1.8 +static PEP_STATUS s_messageToSendObjc(struct _message *msg)
     1.9  {
    1.10      id<PEPSendMessageDelegate> delegate = [[PEPSync instance] sendMessageDelegate];
    1.11      if (delegate) {
    1.12 @@ -65,7 +65,7 @@
    1.13      }
    1.14  }
    1.15  
    1.16 -static int inject_sync_eventObjc(SYNC_EVENT ev, void *management)
    1.17 +static int s_inject_sync_event(SYNC_EVENT ev, void *management)
    1.18  {
    1.19      PEPSync *pEpSync = [PEPSync instance];
    1.20  
    1.21 @@ -102,12 +102,12 @@
    1.22  
    1.23  + (t_messageToSendCallback)messageToSendCallback
    1.24  {
    1.25 -    return messageToSendObjc;
    1.26 +    return s_messageToSendObjc;
    1.27  }
    1.28  
    1.29  + (t_injectSyncCallback)injectSyncCallback
    1.30  {
    1.31 -    return inject_sync_eventObjc;
    1.32 +    return s_inject_sync_event;
    1.33  }
    1.34  
    1.35  + (PEP_SESSION)createSession:(NSError **)error