]> git.meshlink.io Git - catta/blobdiff - avahi-client/client.h
* add new API function avahi_nss_support()
[catta] / avahi-client / client.h
index 9d737782958e25765062e3b2557c61b0cc36ce1b..098d568b5c6c9034120270f9def61743ff672f37 100644 (file)
@@ -85,6 +85,9 @@ int avahi_client_errno (AvahiClient*);
 /** Return the local service cookie. returns AVAHI_SERVICE_COOKIE_INVALID on failure. */
 uint32_t avahi_client_get_local_service_cookie(AvahiClient *client);
 
+/** Return 1 if gethostbyname() supports mDNS lookups, 0 otherwise */
+int avahi_nss_support(void);
+
 AVAHI_C_DECL_END
 
 #endif