pub unsafe extern "C" fn otBorderRoutingSetMultiAilCallback(
aInstance: *mut otInstance,
aCallback: otBorderRoutingMultiAilCallback,
aContext: *mut c_void,
)
Expand description
Sets a callback function to be notified of changes in the multi-AIL detection state.
Requires OPENTHREAD_CONFIG_BORDER_ROUTING_MULTI_AIL_DETECTION_ENABLE
.
Subsequent calls to this function will overwrite the previous callback setting. Using NULL
for @p aCallback will
disable the callback.
@param[in] aInstance A pointer to the OpenThread instance.
@param[in] aCallback A pointer to the function (otBorderRoutingMultiAilCallback
) to be called
upon state changes, or NULL
to unregister a previously set callback.
@param[in] aContext A pointer to application-specific context that will be passed back
in the aCallback
function. This can be NULL
if no context is needed.