[][src]Type Definition srtp2_sys::srtp_log_handler_func_t

type srtp_log_handler_func_t = Option<unsafe extern "C" fn(level: srtp_log_level_t, msg: *const c_char, data: *mut c_void)>;

@brief srtp_log_handler_func_t is the function prototype for the log handler.

The typedef srtp_event_handler_func_t is the prototype for the event handler function. It has as srtp_log_level_t, log message and data as arguments. There can only be a single, global handler for all log messages in libSRTP.