openthread_sys

Function otSrpServerServiceMatchesServiceName

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

Indicates whether this service matches a given service name.

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] aServiceName The service name.

@retval TRUE If service matches the service name. @retval FALSE If service does not match the service name.