pub type otBorderAgentEphemeralKeyCallback = Option<unsafe extern "C" fn(aContext: *mut c_void)>;
Expand description
Callback function pointer to signal state changes to the Border Agent’s Ephemeral Key Manager.
This callback is invoked whenever the otBorderAgentEphemeralKeyGetState()
gets changed.
Any OpenThread API, including otBorderAgent
APIs, can be safely called from this callback.
@param[in] aContext A pointer to an arbitrary context (provided when callback is set).
Aliased Type§
enum otBorderAgentEphemeralKeyCallback {
None,
Some(unsafe extern "C" fn(*mut c_void)),
}