Function s2n_quic::provider::tls::default::ffi::s2n_connection_set_ctx

source ยท
pub unsafe extern "C" fn s2n_connection_set_ctx(
    conn: *mut s2n_connection,
    ctx: *mut c_void,
) -> i32
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