openthread_sys

Function otSrpServerSetServiceUpdateHandler

Source
pub unsafe extern "C" fn otSrpServerSetServiceUpdateHandler(
    aInstance: *mut otInstance,
    aServiceHandler: otSrpServerServiceUpdateHandler,
    aContext: *mut c_void,
)
Expand description

Sets the SRP service updates handler on SRP server.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aServiceHandler A pointer to a service handler. Use NULL to remove the handler. @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.