pub unsafe extern "C" fn s2n_config_set_cache_store_callback(
    config: *mut s2n_config,
    cache_store_callback: s2n_cache_store_callback,
    data: *mut c_void
) -> c_int
Expand description

Allows the caller to set a callback function that will be used to store SSL session data in a cache.

@param config The configuration object being updated @param cache_store_callback The cache store callback function. @param data An opaque context pointer that the callback will be invoked with. @returns S2N_SUCCESS on success. S2N_FAILURE on failure