summaryrefslogtreecommitdiffstats
path: root/avahi-core/core.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-10 00:22:30 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-10 00:22:30 +0000
commite8edcf439d2ce1593af11c357893681b6b3c0bb4 (patch)
treed630ac06209abd27e352cef664394bc0cb9b904e /avahi-core/core.h
parenta9566d5dcac080d7fa91546823277c57a5d09a5f (diff)
* add magic identification cookies to service TXT records automatically
* add an API to query the local service cookie * add a DBUS interface to query the local service cookie * wrap that in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/core.h')
-rw-r--r--avahi-core/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/avahi-core/core.h b/avahi-core/core.h
index 1cf35fc..427a09a 100644
--- a/avahi-core/core.h
+++ b/avahi-core/core.h
@@ -85,6 +85,7 @@ typedef struct AvahiServerConfig {
int use_iff_running; /**< Require IFF_RUNNING on local network interfaces. This is the official way to check for link beat. Unfortunately this doesn't work with all drivers. So bettere leave this off. */
int enable_reflector; /**< Reflect incoming mDNS traffic to all local networks. This allows mDNS based network browsing beyond ethernet borders */
int reflect_ipv; /**< if enable_reflector is 1, enable/disable reflecting between IPv4 and IPv6 */
+ int add_service_cookie; /**< Add magic service cookie to all locally generated records implicitly */
} AvahiServerConfig;
/** Allocate a new mDNS responder object. */
@@ -564,6 +565,9 @@ void avahi_s_dns_server_browser_free(AvahiSDNSServerBrowser *b);
/** Return the last error code */
int avahi_server_errno(AvahiServer *s);
+/** Return the local service cookie */
+uint32_t avahi_server_get_local_service_cookie(AvahiServer *s);
+
#ifndef DOXYGEN_SHOULD_SKIP_THIS
AVAHI_C_DECL_END
#endif