pub type fnUpdatePktMonFlags = Option<unsafe extern "C" fn(decoder_handle: *const c_void, flags: c_int)>;Expand description
Function to update the in-use flags for the packet sinks
Defines if the fnPktMonCB or fnPktDataSinkCB callbacks are in use by the library. If so then it is expected that the decoder should call them when trace protocol packets are generated.
This function must be implemented in the decoder.
@param decoder_handle : handle for decoder accessed by this call. @param flags: Values indicating interfaces in use / not in use. [ OCSD_CUST_DCD_PKT_CB_USE_MON or OCSD_CUST_DCD_PKT_CB_USE_SINK]
Aliased Type§
pub enum fnUpdatePktMonFlags {
None,
Some(unsafe extern "C" fn(*const c_void, i32)),
}