diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-20 22:56:11 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-20 22:56:11 +0000 |
commit | e614891d38cae63957d0bfc00d34ecdbad4f8322 (patch) | |
tree | 55336f0efd0999e0ed17bec823470844587fe65c /avahi-client/client.h | |
parent | 7d59b3ba820c19488b0637b5dd9798deb68fb0dc (diff) |
* 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
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r-- | avahi-client/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |