pEpObjCAdapter/PEPObjCAdapter+Internal.h
author buff <andreas@pep-project.org>
Thu, 01 Feb 2018 18:33:09 +0100
changeset 416 5a37145e3eca
parent 331 c9377de4a7ba
child 504 9fa7b040133c
permissions -rw-r--r--
IOS-873 adds global setting for config_unencrypted_subject
     1 //
     2 //  PEPIOSAdapter+Internal.h
     3 //  pEpiOSAdapter
     4 //
     5 //  Created by Edouard Tisserant on 11/11/15.
     6 //  Copyright © 2015 p≡p. All rights reserved.
     7 //
     8 
     9 #ifndef PEPIOSAdapter_Internal_h
    10 #define PEPIOSAdapter_Internal_h
    11 
    12 #import "sync.h"
    13 
    14 #import "PEPQueue.h"
    15 #import "PEPInternalSession.h"
    16 
    17 @interface PEPObjCAdapter ()
    18 
    19 /**
    20  unecryptedSubjectEnabled value to use for all sessions created.
    21 
    22  @return Whether or not mail subjects should be encrypted
    23  */
    24 + (BOOL)unecryptedSubjectEnabled;
    25 
    26 /**
    27  The lock that should be used for locking all session init() and release().
    28  */
    29 + (NSLock *)initLock;
    30 
    31 // this messages are for internal use only; do not call
    32 
    33 + (void)registerExamineFunction:(PEP_SESSION)session;
    34 + (PEPQueue*)getLookupQueue;
    35 
    36 + (PEPQueue*)getSyncQueue;
    37 + (id <PEPSyncDelegate>)getSyncDelegate;
    38 + (void)bindSession:(PEPInternalSession*)session;
    39 + (void)unbindSession:(PEPInternalSession*)session;
    40 
    41 @end
    42 
    43 #endif /* PEPIOSAdapter_Internal_h */