Name

cyg_mdns_discovery_callback_unregister — Unregister DNS-SD response callback

Synopsis

#include <mdns.h>

cyg_bool cyg_mdns_discovery_callback_unregister(cyg_mdns_discovery_context *handle);

Description

This function is used to detach a previously registered callback handler function using its abstract handle.

[Note]Note

This function is not available if the system is not configured with CYGIMP_NET_MDNS_DNSSD enabled.

This will ensure that the callback function is no longer called by the mDNS response processing, and makes the callback slot available for re-use.

Return value

Boolean true if the operation has completed OK, or false on failure.