diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-08-26 19:16:10 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-08-26 19:16:10 +0000 |
commit | 4743c6236a42978862fa6cf3fa95e40c04fcbd5e (patch) | |
tree | a7266eb7d466d71921ac263ef79656381f199f5c /avahi-client/internal.h | |
parent | 45bf63f4c05690420fd2d701a6399550160aba02 (diff) |
* Implement AddressResolver in the avahi-client C api
* Small fix to the HostNameResolver
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@450 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/internal.h')
-rw-r--r-- | avahi-client/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/avahi-client/internal.h b/avahi-client/internal.h index 4fc963f..f5401fc 100644 --- a/avahi-client/internal.h +++ b/avahi-client/internal.h @@ -43,6 +43,7 @@ struct AvahiClient { AVAHI_LLIST_HEAD(AvahiServiceTypeBrowser, service_type_browsers); AVAHI_LLIST_HEAD(AvahiServiceResolver, service_resolvers); AVAHI_LLIST_HEAD(AvahiHostNameResolver, host_name_resolvers); + AVAHI_LLIST_HEAD(AvahiAddressResolver, address_resolvers); }; struct AvahiEntryGroup { @@ -95,6 +96,15 @@ struct AvahiHostNameResolver { AVAHI_LLIST_FIELDS(AvahiHostNameResolver, host_name_resolvers); }; +struct AvahiAddressResolver { + char *path; + DBusPendingCall *call; + AvahiClient *client; + AvahiAddressResolverCallback callback; + void *userdata; + AVAHI_LLIST_FIELDS(AvahiAddressResolver, address_resolvers); +}; + int avahi_client_set_errno (AvahiClient *client, int error); int avahi_client_set_dbus_error(AvahiClient *client, DBusError *error); |