pub unsafe extern "C" fn otSrpClientSetCallback(
aInstance: *mut otInstance,
aCallback: otSrpClientCallback,
aContext: *mut c_void,
)
Expand description
Sets the callback to notify caller of events/changes from SRP client.
The SRP client allows a single callback to be registered. So consecutive calls to this function will overwrite any previously set callback functions.
@param[in] aInstance A pointer to the OpenThread instance. @param[in] aCallback The callback to notify of events and changes. Can be NULL if not needed. @param[in] aContext An arbitrary context used with @p aCallback.