[][src]Type Definition openthread_sys::otStateChangedCallback

type otStateChangedCallback = Option<unsafe extern "C" fn(aFlags: otChangedFlags, aContext: *mut c_void)>;

This function pointer is called to notify certain configuration or state changes within OpenThread.

@param[in] aFlags A bit-field indicating specific state that has changed. See OT_CHANGED_* definitions. @param[in] aContext A pointer to application-specific context.