From 30f94fc47685900079f23c936668bf904beae05f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Sep 2005 02:20:51 +0000 Subject: add new public function avahi_server_is_service_local() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@561 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avahi-core/core.h') diff --git a/avahi-core/core.h b/avahi-core/core.h index 427a09a..abc30c0 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -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 -- cgit