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