openthread_sys

Function otDnssdUpstreamQueryIsEnabled

Source
pub unsafe extern "C" fn otDnssdUpstreamQueryIsEnabled(
    aInstance: *mut otInstance,
) -> bool
Expand description

Returns whether the DNSSD server will forward DNS queries to the platform DNS upstream API.

Available when OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @retval TRUE If the DNSSD server will forward DNS queries. @retval FALSE If the DNSSD server will not forward DNS queries.

@sa otDnssdUpstreamQuerySetEnabled