[][src]Type Definition srtp2_sys::srtp_event_handler_func_t

type srtp_event_handler_func_t = Option<unsafe extern "C" fn(data: *mut srtp_event_data_t)>;

@brief srtp_event_handler_func_t is the function prototype for the event handler.

The typedef srtp_event_handler_func_t is the prototype for the event handler function. It has as its only argument an srtp_event_data_t which describes the event that needs to be handled. There can only be a single, global handler for all events in libSRTP.