openthread_sys

Function otSrpServerServiceHasSubTypeServiceName

Source
pub unsafe extern "C" fn otSrpServerServiceHasSubTypeServiceName(
    aService: *const otSrpServerService,
    aSubTypeServiceName: *const c_char,
) -> bool
Expand description

Indicates whether or not the service has a given sub-type.

DNS name matches are performed using a case-insensitive string comparison (i.e., “Abc” and “aBc” are considered to be the same).

@param[in] aService A pointer to the SRP service. @param[in] aSubTypeServiceName The sub-type service name (full name) to check.

@retval TRUE Service contains the sub-type @p aSubTypeServiceName. @retval FALSE Service does not contain the sub-type @p aSubTypeServiceName.