X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fclient.h;h=0cafed323459607763d99d3be1e3ab3feb7450a1;hb=16db94194059f7ca05813f68c26c59cfcfdcbd7c;hp=2d8f41b6058935730ccb111585acfaf820e04e8b;hpb=abc3054d3823547b72f44e51faef63b51f028b3e;p=catta diff --git a/avahi-client/client.h b/avahi-client/client.h index 2d8f41b..0cafed3 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -317,6 +317,12 @@ AvahiClient* avahi_address_resolver_get_client (AvahiAddressResolver *); /** Free a AvahiAddressResolver resolver object */ 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