X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fclient.h;h=0cafed323459607763d99d3be1e3ab3feb7450a1;hb=16db94194059f7ca05813f68c26c59cfcfdcbd7c;hp=f92f4bff53df5afdf2f81f97362377da184a0e90;hpb=e8edcf439d2ce1593af11c357893681b6b3c0bb4;p=catta 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