Function s2n_tls_sys::s2n_config_set_early_data_cb

source ·
pub unsafe extern "C" fn s2n_config_set_early_data_cb(
    config: *mut s2n_config,
    cb: s2n_early_data_cb
) -> c_int
Expand description

Set a callback to accept or reject early data.

@param config A pointer to the connection config @param cb A pointer to the implementation of the callback. @returns A POSIX error signal. If successful, the callback was set.