openthread_sys

Function otSrpClientBuffersFreeService

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

Frees a previously allocated service entry.

The @p aService MUST be previously allocated using otSrpClientBuffersAllocateService() and not yet freed. Otherwise the behavior of this function is undefined.

@param[in] aInstance A pointer to the OpenThread instance. @param[in] aService A pointer to the service entry to free (MUST NOT be NULL).