mbedtls_ssl_cache_entry * chain
Definition: ssl_cache.h:78
int mbedtls_ssl_cache_get(void *data, mbedtls_ssl_session *session)
Cache get callback implementation (Thread-safe if MBEDTLS_THREADING_C is enabled)
int mbedtls_ssl_cache_set(void *data, const mbedtls_ssl_session *session)
Cache set callback implementation (Thread-safe if MBEDTLS_THREADING_C is enabled)
This structure is used for storing cache entries.
Definition: ssl_cache.h:61
int max_entries
Definition: ssl_cache.h:80
Cache context.
Definition: ssl_cache.h:76
int timeout
Definition: ssl_cache.h:79
mbedtls_ssl_cache_entry * next
Definition: ssl_cache.h:70
mbedtls_ssl_session session
Definition: ssl_cache.h:66