diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-18 19:52:03 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-18 19:52:03 +0000 |
commit | 6b391bb81f0dce0193a722254016b26c12a17643 (patch) | |
tree | 913abdf1f71f07e4efbf0ab2d0590494f456f9fe /avahi-client/lookup.h | |
parent | 8b22b43669d936ab75914732209f93a0b7ee81f4 (diff) |
* remove AVAHI_PUBLISH_IS_PROXY, it was a bad idea
* drop avahi_service_is_service_local(), avahi_client_is_service_local()
* add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL
* remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a()
* avahi-client: save query data in browse/resolve objects so that we can return it on failure
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/lookup.h')
-rw-r--r-- | avahi-client/lookup.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/avahi-client/lookup.h b/avahi-client/lookup.h index 659700e..bf19479 100644 --- a/avahi-client/lookup.h +++ b/avahi-client/lookup.h @@ -102,13 +102,11 @@ typedef void (*AvahiAddressResolverCallback) ( AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, - AvahiProtocol aprotocol, const AvahiAddress *a, const char *name, AvahiLookupResultFlags flags, void *userdata); - /** Browse for domains on the local network */ AvahiDomainBrowser* avahi_domain_browser_new ( AvahiClient *client, @@ -195,18 +193,8 @@ AvahiClient* avahi_host_name_resolver_get_client (AvahiHostNameResolver *); /** Free a hostname resolver object */ int avahi_host_name_resolver_free(AvahiHostNameResolver *r); -/** Create a new address resolver object from an address string. Set aprotocol to AF_UNSPEC for protocol detection. */ -AvahiAddressResolver * avahi_address_resolver_new( - AvahiClient *client, - AvahiIfIndex interface, - AvahiProtocol protocol, - const char *address, - AvahiLookupFlags flags, - AvahiAddressResolverCallback callback, - void *userdata); - /** Create a new address resolver object from an AvahiAddress object */ -AvahiAddressResolver* avahi_address_resolver_new_a( +AvahiAddressResolver* avahi_address_resolver_new( AvahiClient *client, AvahiIfIndex interface, AvahiProtocol protocol, |