X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fpublish.h;h=38e5116b4a852143c154dcec10c91e3ed249ecc1;hb=6b391bb81f0dce0193a722254016b26c12a17643;hp=a059a4b802ea0326f78562b7be6352c5668866a4;hpb=8b22b43669d936ab75914732209f93a0b7ee81f4;p=catta diff --git a/avahi-core/publish.h b/avahi-core/publish.h index a059a4b..38e5116 100644 --- a/avahi-core/publish.h +++ b/avahi-core/publish.h @@ -197,6 +197,9 @@ int avahi_server_update_service_txt( const char *domain, ...) AVAHI_GCC_SENTINEL; +/** Check if there is a service locally defined and return the entry group it is attached to. Returns NULL if the service isn't local*/ +int avahi_server_get_group_of_service(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain, AvahiSEntryGroup** ret_group); + #ifndef DOXYGEN_SHOULD_SKIP_THIS AVAHI_C_DECL_END #endif