diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-07-29 02:03:26 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-07-29 02:03:26 +0000 |
commit | 368ed1a2a0d95964b3f88c70c9a8c5516367f3f7 (patch) | |
tree | c6a022c9db082d742dd04d89f314e7629884c7ba /avahi-client/client.h | |
parent | ec9c575fb8d6d9ee2f929ad6cd70177e35ba9cd3 (diff) |
* Move dbus service #defines to avahi-common/dbus.h
* Move cdecl.h to installed common headers
* Remove glib use from avahi-client
* Only build avahi-client if dbus is enabled
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@190 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r-- | avahi-client/client.h | 13 |
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 |