diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-10 02:22:32 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-10 02:22:32 +0000 |
commit | 2137c8a1904f4dd738c07b8373ef1e9fce519207 (patch) | |
tree | bf29fe7f094b1e8b86b94b6028783cc70afce339 /avahi-client/client.h | |
parent | cc02fb84d6b727b075a48afed4899706658e0731 (diff) |
add new API avahi_client_is_service_local()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@563 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r-- | avahi-client/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/avahi-client/client.h b/avahi-client/client.h index f92f4bf..0cafed3 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -320,6 +320,9 @@ int avahi_address_resolver_free(AvahiAddressResolver *r); /** Return the local service cookie. returns AVAHI_SERVICE_COOKIE_INVALID on failure. */ uint32_t avahi_client_get_local_service_cookie(AvahiClient *client); +/** Return 1 if the specified service is a registered locally, negative on failure, 0 otherwise. */ +int avahi_client_is_service_local(AvahiClient *client, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain); + #ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_END #endif |