Type Alias openthread_sys::otCliOutputCallback
source · pub type otCliOutputCallback = Option<unsafe extern "C" fn(aContext: *mut c_void, aFormat: *const c_char, aArguments: *mut __va_list_tag) -> c_int>;
Expand description
Pointer is called to notify about Console output.
@param[out] aContext A user context pointer. @param[in] aFormat The format string. @param[in] aArguments The format string arguments.
@returns Number of bytes written by the callback.
Aliased Type§
enum otCliOutputCallback {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: *mut __va_list_tag) -> i32),
}