openthread_sys

Type Alias otIp6AddressCallback

Source
pub type otIp6AddressCallback = Option<unsafe extern "C" fn(aAddressInfo: *const otIp6AddressInfo, aIsAdded: bool, aContext: *mut c_void)>;
Expand description

Pointer is called when an internal IPv6 address is added or removed.

@param[in] aAddressInfo A pointer to the IPv6 address information. @param[in] aIsAdded TRUE if the @p aAddress was added, FALSE if @p aAddress was removed. @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otIp6AddressCallback {
    None,
    Some(unsafe extern "C" fn(_: *const otIp6AddressInfo, _: bool, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const otIp6AddressInfo, _: bool, _: *mut c_void))

Some value of type T.