openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetSessionCacheSize()

int32_t HITLS_CFG_GetSessionCacheSize ( HITLS_Config config,
uint32_t *  size 
)

Obtain the maximum number of sessions in the session cache.

Parameters
config[IN] Config context.
size[OUT] Maximum number of sessions in the cache.
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.