#ifndef SOSPeerOTRTimer_h
#define SOSPeerOTRTimer_h
void SOSPeerOTRTimerFired(SOSAccount* account, SOSPeerRef peer, SOSEngineRef engine, SOSCoderRef coder);
int SOSPeerOTRTimerTimeoutValue(SOSAccount* account, SOSPeerRef peer);
void SOSPeerOTRTimerSetupAwaitingTimer(SOSAccount* account, SOSPeerRef peer, SOSEngineRef engine, SOSCoderRef coder);
void SOSPeerOTRTimerIncreaseOTRNegotiationRetryCount(SOSAccount* account, NSString* peerid);
bool SOSPeerOTRTimerHaveReachedMaxRetryAllowance(SOSAccount* account, NSString* peerid);
void SOSPeerOTRTimerClearMaxRetryCount(SOSAccount* account, NSString* peerid);
bool SOSPeerOTRTimerHaveAnRTTAvailable(SOSAccount* account, NSString* peerid);
void SOSPeerOTRTimerRemoveRTTTimeoutForPeer(SOSAccount* account, NSString* peerid);
void SOSPeerOTRTimerRemoveLastSentMessageTimestamp(SOSAccount* account, NSString* peerid);
#endif