Function s2n_tls_sys::s2n_offered_psk_list_next

source ·
pub unsafe extern "C" fn s2n_offered_psk_list_next(
    psk_list: *mut s2n_offered_psk_list,
    psk: *mut s2n_offered_psk
) -> c_int
Expand description

Obtains the next offered PSK object from the list of offered PSKs. Use s2n_offered_psk_list_has_next prior to this API call to ensure we have not reached the end of the list.

@param psk_list A pointer to the offered PSK list being read. @param psk A pointer to the next offered PSK object being obtained.