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:559
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_replace(SharkSslSCMgr *o, SharkSslSCMgrNode *n, SharkSslCon *scon)
Replace the saved session after a resumed TLS 1.3 connection receives a fresh session ticket.
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:269
The handle returned by SharkSslSCMgr_get.
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:575