]>
git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/SecureObjectSync/SOSPeerOTRTimer.h
5 #ifndef SOSPeerOTRTimer_h
6 #define SOSPeerOTRTimer_h
8 void SOSPeerOTRTimerFired(SOSAccount
* account
, SOSPeerRef peer
, SOSEngineRef engine
, SOSCoderRef coder
);
9 int SOSPeerOTRTimerTimeoutValue(SOSAccount
* account
, SOSPeerRef peer
);
10 void SOSPeerOTRTimerSetupAwaitingTimer(SOSAccount
* account
, SOSPeerRef peer
, SOSEngineRef engine
, SOSCoderRef coder
);
13 void SOSPeerOTRTimerCreateKVSConfigDict(SOSAccount
* account
, CFNumberRef timeout
, CFStringRef peerid
);
16 //functions to handle max retry counter
17 void SOSPeerOTRTimerIncreaseOTRNegotiationRetryCount(SOSAccount
* account
, NSString
* peerid
);
18 bool SOSPeerOTRTimerHaveReachedMaxRetryAllowance(SOSAccount
* account
, NSString
* peerid
);
19 void SOSPeerOTRTimerClearMaxRetryCount(SOSAccount
* account
, NSString
* peerid
);
20 bool SOSPeerOTRTimerHaveAnRTTAvailable(SOSAccount
* account
, NSString
* peerid
);
21 void SOSPeerOTRTimerRemoveRTTTimeoutForPeer(SOSAccount
* account
, NSString
* peerid
);
22 void SOSPeerOTRTimerRemoveLastSentMessageTimestamp(SOSAccount
* account
, NSString
* peerid
);
24 #endif /* SOSPeerOTRTimer_h */