pub unsafe extern "C" fn s2n_config_set_cache_retrieve_callback(
    config: *mut s2n_config,
    cache_retrieve_callback: s2n_cache_retrieve_callback,
    data: *mut c_void
) -> c_int
Expand description

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

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