pub unsafe extern "C" fn s2n_config_set_cache_delete_callback(
    config: *mut s2n_config,
    cache_delete_callback: s2n_cache_delete_callback,
    data: *mut c_void
) -> c_int
Expand description

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

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