diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-06-28 22:09:17 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-06-28 22:09:17 +0000 |
commit | 14f8d9beb7ef14b0aab5512345e09109bdd8cb0c (patch) | |
tree | 83828a846e27bbdee70febaa58a85a65439052a2 /avahi-core/core.h | |
parent | f93c4009fd022577c8fe989343172b849e792aa2 (diff) |
* recreate DNS query in simple protocol on host or domain name changes
* C++ compatibility
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/core.h')
-rw-r--r-- | avahi-core/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/avahi-core/core.h b/avahi-core/core.h index 02e1db9..06eb07a 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -25,6 +25,10 @@ #include <stdio.h> #include <glib.h> +#include <avahi-common/cdecl.h> + +AVAHI_C_DECL_BEGIN + /** An mDNS responder object */ typedef struct AvahiServer AvahiServer; @@ -34,10 +38,14 @@ typedef struct AvahiEntry AvahiEntry; /** A group of locally registered DNS RRs */ typedef struct AvahiEntryGroup AvahiEntryGroup; +AVAHI_C_DECL_END + #include <avahi-common/address.h> #include <avahi-common/rr.h> #include <avahi-common/alternative.h> +AVAHI_C_DECL_BEGIN + /** States of a server object */ typedef enum { AVAHI_SERVER_INVALID = -1, /**< Invalid state (initial) */ @@ -376,4 +384,6 @@ typedef void (*AvahiDNSServerBrowserCallback)(AvahiDNSServerBrowser *b, AvahiIfI AvahiDNSServerBrowser *avahi_dns_server_browser_new(AvahiServer *server, AvahiIfIndex interface, AvahiProtocol protocol, const gchar *domain, AvahiDNSServerType type, AvahiProtocol aprotocol, AvahiDNSServerBrowserCallback callback, gpointer userdata); void avahi_dns_server_browser_free(AvahiDNSServerBrowser *b); +AVAHI_C_DECL_END + #endif |