37#ifndef _SharkSslSCMgr_h
38#define _SharkSslSCMgr_h
40#include <SharkSslEx.h>
42#include "DoubleList.h"
struct SharkSslCon SharkSslCon
SharkSslCon is an opaque handle returned by function SharkSsl_createCon.
Definition: SharkSSL.h:553
SHARKSSL_API void SharkSslSCMgr_constructor(SharkSslSCMgr *o, SharkSsl *ssl, U32 maxTime)
SharkSslSCMgr simplifies using the session API for TLS clients; the constructor initializes a SharkSs...
SHARKSSL_API int SharkSslSCMgr_save(SharkSslSCMgr *o, SharkSslCon *scon, const char *host, U16 port)
Save the session when SharkSslSCMgr_get returns NULL.
SHARKSSL_API SharkSslSCMgrNode * SharkSslSCMgr_get(SharkSslSCMgr *o, SharkSslCon *scon, const char *host, U16 port)
Resume a session.
struct SharkSslSession SharkSslSession
SharkSslSession is an opaque handle returned by function SharkSslCon_acquireSession.
Definition: SharkSSL.h:265
The handle returned by SharkSslSCMgr_get and passed into SharkSslSCMgr_save.
Definition: SharkSslSCMgr.h:61
See SharkSslSCMgr_constructor for details.
Definition: SharkSslSCMgr.h:75
A SharkSsl object is the coordinator for managing SharkSslCon objects (See SharkSsl_constructor for d...
Definition: SharkSSL.h:561