]> git.meshlink.io Git - catta/blobdiff - avahi-core/core.h
* add new macros AVAHI_IF_VALID, AVAHI_PROTO_VALID
[catta] / avahi-core / core.h
index 427a09a36298005b47d05cf2186e9ad9b55c4a8b..abc30c00635a9c45e0ae08b656b06a7d5276845a 100644 (file)
@@ -568,6 +568,9 @@ int avahi_server_errno(AvahiServer *s);
 /** Return the local service cookie */
 uint32_t avahi_server_get_local_service_cookie(AvahiServer *s);
 
+/** Return 1 if there is a local service with the specified credentials registeresd. Return 0 if not, negative on failure */
+int avahi_server_is_service_local(AvahiServer *s, AvahiIfIndex, AvahiProtocol protocol, const char *name, const char *type,  const char*domain);
+
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_END
 #endif