diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-08-12 04:49:23 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-08-12 04:49:23 +0000 |
commit | f8c479234af6b676027df4fb6b38ce8e22949049 (patch) | |
tree | 525343662616f78699bc46dc4faa4bbe3f3a55c1 /avahi-client/internal.h | |
parent | bca16ea33da4246188a710dcb07bb6b352ca9cf4 (diff) | |
download | avahi-f8c479234af6b676027df4fb6b38ce8e22949049.tar.gz |
* Rename various data structures to prevent a namespace conflict with avahi-core
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/internal.h')
-rw-r--r-- | avahi-client/internal.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/avahi-client/internal.h b/avahi-client/internal.h index ad39af3..4feffc0 100644 --- a/avahi-client/internal.h +++ b/avahi-client/internal.h @@ -30,38 +30,38 @@ struct _AvahiClient int error; AvahiClientCallback callback; void *user_data; - AVAHI_LLIST_HEAD(AvahiEntryGroup, groups); - AVAHI_LLIST_HEAD(AvahiDomainBrowser, domain_browsers); - AVAHI_LLIST_HEAD(AvahiServiceTypeBrowser, service_type_browsers); + AVAHI_LLIST_HEAD(AvahiClientEntryGroup, groups); + AVAHI_LLIST_HEAD(AvahiClientDomainBrowser, domain_browsers); + AVAHI_LLIST_HEAD(AvahiClientServiceTypeBrowser, service_type_browsers); }; -struct _AvahiEntryGroup { +struct _AvahiClientEntryGroup { char *path; AvahiClient *client; - AvahiEntryGroupCallback callback; + AvahiClientEntryGroupCallback callback; void *user_data; - AVAHI_LLIST_FIELDS(AvahiEntryGroup, groups); + AVAHI_LLIST_FIELDS(AvahiClientEntryGroup, groups); }; -struct _AvahiDomainBrowser { +struct _AvahiClientDomainBrowser { char *path; AvahiClient *client; - AvahiDomainBrowserCallback callback; + AvahiClientDomainBrowserCallback callback; void *user_data; - AVAHI_LLIST_FIELDS(AvahiDomainBrowser, domain_browsers); + AVAHI_LLIST_FIELDS(AvahiClientDomainBrowser, domain_browsers); }; -struct _AvahiServiceTypeBrowser { +struct _AvahiClientServiceTypeBrowser { char *path; AvahiClient *client; - AvahiServiceTypeBrowserCallback callback; + AvahiClientServiceTypeBrowserCallback callback; void *user_data; - AVAHI_LLIST_FIELDS(AvahiServiceTypeBrowser, service_type_browsers); + AVAHI_LLIST_FIELDS(AvahiClientServiceTypeBrowser, service_type_browsers); }; int avahi_client_set_errno (AvahiClient *client, int error); -void avahi_entry_group_state_change (AvahiEntryGroup *group, int state); +void avahi_entry_group_state_change (AvahiClientEntryGroup *group, int state); DBusHandlerResult avahi_domain_browser_event (AvahiClient *client, AvahiBrowserEvent event, DBusMessage *message); |