IOS-1480 Rename SyncHandshakeResult -> PEPSyncHandshakeResult. IOS-1480
authorDirk Zimmermann <dz@pep.security>
Wed, 27 Feb 2019 16:08:36 +0100
branchIOS-1480
changeset 827d68b4b8f3c2a
parent 826 e7261c5157a5
child 828 e88287219db9
IOS-1480 Rename SyncHandshakeResult -> PEPSyncHandshakeResult.
pEpObjCAdapter/PEPSession.m
pEpObjCAdapterFramework/PEPConstants.h
pEpObjCAdapterFramework/PEPSessionProtocol.h
     1.1 --- a/pEpObjCAdapter/PEPSession.m	Wed Feb 27 16:08:36 2019 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSession.m	Wed Feb 27 16:08:36 2019 +0100
     1.3 @@ -351,7 +351,7 @@
     1.4      return [session trustOwnKeyIdentity:identity error:error];
     1.5  }
     1.6  
     1.7 -- (BOOL)deliverHandshakeResult:(SyncHandshakeResult)result
     1.8 +- (BOOL)deliverHandshakeResult:(PEPSyncHandshakeResult)result
     1.9                      forPartner:(PEPIdentity * _Nonnull)partner
    1.10                           error:(NSError * _Nullable * _Nullable)error
    1.11  {
     2.1 --- a/pEpObjCAdapterFramework/PEPConstants.h	Wed Feb 27 16:08:36 2019 +0100
     2.2 +++ b/pEpObjCAdapterFramework/PEPConstants.h	Wed Feb 27 16:08:36 2019 +0100
     2.3 @@ -150,9 +150,9 @@
     2.4  } PEPIdentityFlags;
     2.5  
     2.6  typedef enum _ObjC_sync_handshake_result {
     2.7 -    SyncHandshakeResultCancel = -1, // SYNC_HANDSHAKE_CANCEL = -1,
     2.8 -    SyncHandshakeResultAccepted = 0, // SYNC_HANDSHAKE_ACCEPTED = 0,
     2.9 -    SyncHandshakeResultRejected = 1 // SYNC_HANDSHAKE_REJECTED = 1
    2.10 -} SyncHandshakeResult;
    2.11 +    PEPSyncHandshakeResultCancel = -1, // SYNC_HANDSHAKE_CANCEL = -1,
    2.12 +    PEPSyncHandshakeResultAccepted = 0, // SYNC_HANDSHAKE_ACCEPTED = 0,
    2.13 +    PEPSyncHandshakeResultRejected = 1 // SYNC_HANDSHAKE_REJECTED = 1
    2.14 +} PEPSyncHandshakeResult;
    2.15  
    2.16  #endif /* PEPConstants_h */
     3.1 --- a/pEpObjCAdapterFramework/PEPSessionProtocol.h	Wed Feb 27 16:08:36 2019 +0100
     3.2 +++ b/pEpObjCAdapterFramework/PEPSessionProtocol.h	Wed Feb 27 16:08:36 2019 +0100
     3.3 @@ -248,7 +248,7 @@
     3.4       forIdentity:(PEPIdentity * _Nonnull)identity
     3.5             error:(NSError * _Nullable * _Nullable)error;
     3.6  
     3.7 -- (BOOL)deliverHandshakeResult:(SyncHandshakeResult)result
     3.8 +- (BOOL)deliverHandshakeResult:(PEPSyncHandshakeResult)result
     3.9                      forPartner:(PEPIdentity * _Nonnull)partner
    3.10                           error:(NSError * _Nullable * _Nullable)error;
    3.11