srtp2_sys

Function srtp_set_user_data

Source
pub unsafe extern "C" fn srtp_set_user_data(
    ctx: srtp_t,
    data: *mut c_void,
)
Expand description

@brief srtp_set_user_data() stores the given pointer into the SRTP session for later retrieval.

@param ctx is the srtp_t context in which the given data pointer is stored.

@param data is a pointer to the custom information (struct, function, etc) associated with the SRTP session.

@return void.