]>
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 //functions to handle max retry counter
14 void SOSPeerOTRTimerIncreaseOTRNegotiationRetryCount(SOSAccount
* account
, NSString
* peerid
);
15 bool SOSPeerOTRTimerHaveReachedMaxRetryAllowance(SOSAccount
* account
, NSString
* peerid
);
16 void SOSPeerOTRTimerClearMaxRetryCount(SOSAccount
* account
, NSString
* peerid
);
17 bool SOSPeerOTRTimerHaveAnRTTAvailable(SOSAccount
* account
, NSString
* peerid
);
18 void SOSPeerOTRTimerRemoveRTTTimeoutForPeer(SOSAccount
* account
, NSString
* peerid
);
19 void SOSPeerOTRTimerRemoveLastSentMessageTimestamp(SOSAccount
* account
, NSString
* peerid
);
21 #endif /* SOSPeerOTRTimer_h */