Function register_injection_callback
pub unsafe extern "C" fn register_injection_callback(
handle: &Context,
service_id: u32,
callback: Option<InjectionCallback>,
priv_data: *mut c_void,
) -> ReturnValueExpand description
Register callback function with private data called when injection message was received.
- @param handle pointer to an object containing information about one special logging context
- @param service_id the service id to be waited for
- @param (*dlt_injection_callback) function pointer to callback function
- @param priv private data
- @return Value from DltReturnValue enum