Function s2n_tls_sys::s2n_connection_set_ctx

source ·
pub unsafe extern "C" fn s2n_connection_set_ctx(
    conn: *mut s2n_connection,
    ctx: *mut c_void
) -> c_int
Expand description

Sets user defined context in s2n_connection object.

@param conn The connection object being updated @param ctx A pointer to the user defined context @returns S2N_SUCCESS on success. S2N_FAILURE on failure