Function s2n_quic::provider::tls::default::ffi::s2n_client_hello_free

source ·
pub unsafe extern "C" fn s2n_client_hello_free(
    ch: *mut *mut s2n_client_hello
) -> i32
Expand description

Frees an s2n_client_hello structure.

This method should be called to free s2n_client_hellos returned by s2n_client_hello_parse_message. It will error if passed an s2n_client_hello returned by s2n_connection_get_client_hello and owned by the connection.

@param ch The structure to be freed. @returns S2N_SUCCESS on success, S2N_FAILURE on failure.