openthread_sys

Function otSrpClientClearHostAndServices

Source
pub unsafe extern "C" fn otSrpClientClearHostAndServices(
    aInstance: *mut otInstance,
)
Expand description

Clears all host info and all the services.

Unlike otSrpClientRemoveHostAndServices() which sends an update message to the server to remove all the info, this function clears all the info immediately without any interaction with the server.

@param[in] aInstance A pointer to the OpenThread instance.