]> git.meshlink.io Git - catta/blobdiff - avahi-client/client.h
* Move dbus service #defines to avahi-common/dbus.h
[catta] / avahi-client / client.h
index a33f1d2cdde68abab7e4c2e4ef0fae098196762c..91f5af5825779b54087e88b381ad4787156f1b8e 100644 (file)
   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