openthread_sys

Function otSrpServerServiceMatchesInstanceName

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

Indicates whether this service matches a given service instance 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] aInstanceName The service instance name.

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