openthread_sys

Type Alias otBackboneRouterDomainPrefixCallback

Source
pub type otBackboneRouterDomainPrefixCallback = Option<unsafe extern "C" fn(aContext: *mut c_void, aEvent: otBackboneRouterDomainPrefixEvent, aDomainPrefix: *const otIp6Prefix)>;
Expand description

Pointer is called whenever the Domain Prefix changed.

@param[in] aContext The user context pointer. @param[in] aEvent The Domain Prefix event. @param[in] aDomainPrefix The new Domain Prefix if added or changed, nullptr otherwise.

Aliased Type§

enum otBackboneRouterDomainPrefixCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const otIp6Prefix)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const otIp6Prefix))

Some value of type T.