pub unsafe extern "C" fn s2n_config_set_client_hello_cb(
    config: *mut s2n_config,
    client_hello_callback: Option<unsafe extern "C" fn(_: *mut s2n_connection, _: *mut c_void) -> i32>,
    ctx: *mut c_void
) -> i32
Expand description

Allows the caller to set a callback function that will be called after ClientHello was parsed.

@param config The configuration object being updated @param client_hello_callback The client hello callback function @param ctx A pointer to a user defined context that the Client Hello callback will be invoked with. @returns S2N_SUCCESS on success. S2N_FAILURE on failure