From e614891d38cae63957d0bfc00d34ecdbad4f8322 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 20 Jan 2006 22:56:11 +0000 Subject: * add new API function avahi_nss_support() * add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avahi-client/client.h') diff --git a/avahi-client/client.h b/avahi-client/client.h index 9d73778..098d568 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -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 -- cgit