summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r--avahi-client/client.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/avahi-client/client.h b/avahi-client/client.h
index a33f1d2..91f5af5 100644
--- a/avahi-client/client.h
+++ b/avahi-client/client.h
@@ -22,12 +22,19 @@
USA.
***/
-#include <glib.h>
+#include <avahi-common/cdecl.h>
-typedef struct AvahiClient {
- gint serverid;
+/** \file client.h Definitions and functions for the client API over D-Bus */
+
+AVAHI_C_DECL_BEGIN
+
+typedef struct {
+ int serverid;
} AvahiClient;
+/** Creates a new client instance */
AvahiClient* avahi_client_new ();
+AVAHI_C_DECL_END
+
#endif