From 53d5c8aa38e134661db9dc451799132372a4841d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Aug 2005 11:12:14 +0000 Subject: * 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 --- avahi-client/client.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'avahi-client/client.h') 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*); -- cgit