pEpObjCAdapter/PEPObjCAdapter+Internal.h
changeset 504 9fa7b040133c
parent 416 5a37145e3eca
child 601 10ac2d9704ac
     1.1 --- a/pEpObjCAdapter/PEPObjCAdapter+Internal.h	Sun Feb 25 10:50:20 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPObjCAdapter+Internal.h	Mon Feb 26 13:19:19 2018 +0100
     1.3 @@ -23,11 +23,6 @@
     1.4   */
     1.5  + (BOOL)unecryptedSubjectEnabled;
     1.6  
     1.7 -/**
     1.8 - The lock that should be used for locking all session init() and release().
     1.9 - */
    1.10 -+ (NSLock *)initLock;
    1.11 -
    1.12  // this messages are for internal use only; do not call
    1.13  
    1.14  + (void)registerExamineFunction:(PEP_SESSION)session;
    1.15 @@ -38,6 +33,16 @@
    1.16  + (void)bindSession:(PEPInternalSession*)session;
    1.17  + (void)unbindSession:(PEPInternalSession*)session;
    1.18  
    1.19 +/**
    1.20 + Locks for (potential) sqlite writes.
    1.21 + */
    1.22 ++ (void)lockWrite;
    1.23 +
    1.24 +/**
    1.25 + Unlocks (potential) sqlite writes.
    1.26 + */
    1.27 ++ (void)unlockWrite;
    1.28 +
    1.29  @end
    1.30  
    1.31  #endif /* PEPIOSAdapter_Internal_h */