summaryrefslogtreecommitdiffstats
path: root/avahi-core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/core.h')
-rw-r--r--avahi-core/core.h10
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