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
dirk@187
     1
//
dirk@187
     2
//  PEPIOSAdapter+Internal.h
dirk@187
     3
//  pEpiOSAdapter
dirk@187
     4
//
dirk@187
     5
//  Created by Edouard Tisserant on 11/11/15.
dirk@187
     6
//  Copyright © 2015 p≡p. All rights reserved.
dirk@187
     7
//
dirk@187
     8
dirk@187
     9
#ifndef PEPIOSAdapter_Internal_h
dirk@187
    10
#define PEPIOSAdapter_Internal_h
dirk@187
    11
dirk@331
    12
#import "sync.h"
dirk@331
    13
dirk@187
    14
#import "PEPQueue.h"
andreas@269
    15
#import "PEPInternalSession.h"
dirk@187
    16
dirk@187
    17
@interface PEPObjCAdapter ()
dirk@187
    18
dirk@254
    19
/**
andreas@416
    20
 unecryptedSubjectEnabled value to use for all sessions created.
andreas@416
    21
andreas@416
    22
 @return Whether or not mail subjects should be encrypted
andreas@416
    23
 */
andreas@416
    24
+ (BOOL)unecryptedSubjectEnabled;
andreas@416
    25
andreas@416
    26
/**
dirk@254
    27
 The lock that should be used for locking all session init() and release().
dirk@254
    28
 */
dirk@254
    29
+ (NSLock *)initLock;
dirk@254
    30
dirk@187
    31
// this messages are for internal use only; do not call
dirk@187
    32
dirk@187
    33
+ (void)registerExamineFunction:(PEP_SESSION)session;
dirk@187
    34
+ (PEPQueue*)getLookupQueue;
dirk@187
    35
dirk@331
    36
+ (PEPQueue*)getSyncQueue;
dirk@331
    37
+ (id <PEPSyncDelegate>)getSyncDelegate;
dirk@331
    38
+ (void)bindSession:(PEPInternalSession*)session;
dirk@331
    39
+ (void)unbindSession:(PEPInternalSession*)session;
dirk@331
    40
dirk@187
    41
@end
dirk@187
    42
dirk@187
    43
#endif /* PEPIOSAdapter_Internal_h */