Function bearssl::br_ssl_session_cache_lru_init
[−]
[src]
pub unsafe extern "C" fn br_ssl_session_cache_lru_init(
cc: *mut br_ssl_session_cache_lru,
store: *mut c_uchar,
store_len: usize
)
\brief Initialise a LRU session cache with the provided storage space.
The provided storage space must remain valid as long as the cache is used. Arbitrary lengths are supported, up to 4294967295 bytes; each entry uses up exactly 100 bytes.
\param cc session cache context. \param store storage space for cached entries. \param store_len storage space length (in bytes).