summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-19 11:12:14 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-19 11:12:14 +0000
commit53d5c8aa38e134661db9dc451799132372a4841d (patch)
tree784f140d1763d1f09b63da1fbfea0d7851469ac1 /avahi-client/client.h
parentee3ce4709407fce8d67d0f50fb0a4fd0c7f22c32 (diff)
* implement avahi_client_free
* issue initial GetState() call synchronously git-svn-id: file:///home/lennart/svn/public/avahi/trunk@352 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r--avahi-client/client.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/avahi-client/client.h b/avahi-client/client.h
index 99f27dd..5aa3efc 100644
--- a/avahi-client/client.h
+++ b/avahi-client/client.h
@@ -36,15 +36,11 @@
AVAHI_C_DECL_BEGIN
#endif
-typedef struct _AvahiClient AvahiClient;
-
-typedef struct _AvahiEntryGroup AvahiEntryGroup;
-
-typedef struct _AvahiDomainBrowser AvahiDomainBrowser;
-
-typedef struct _AvahiServiceBrowser AvahiServiceBrowser;
-
-typedef struct _AvahiServiceTypeBrowser AvahiServiceTypeBrowser;
+typedef struct AvahiClient AvahiClient;
+typedef struct AvahiEntryGroup AvahiEntryGroup;
+typedef struct AvahiDomainBrowser AvahiDomainBrowser;
+typedef struct AvahiServiceBrowser AvahiServiceBrowser;
+typedef struct AvahiServiceTypeBrowser AvahiServiceTypeBrowser;
/** States of a client object, note that AvahiServerStates are also emitted */
typedef enum {
@@ -70,6 +66,9 @@ typedef void (*AvahiServiceTypeBrowserCallback) (AvahiServiceTypeBrowser *b, Ava
/** Creates a new client instance */
AvahiClient* avahi_client_new (const AvahiPoll *poll_api, AvahiClientCallback callback, void *userdata, int *error);
+/** Free a client instance */
+void avahi_client_free(AvahiClient *client);
+
/** Get the version of the server */
char* avahi_client_get_version_string (AvahiClient*);