]> git.meshlink.io Git - catta/blobdiff - avahi-common/strlst.h
fix some small bugs in publishing and resolving, and make uninstall work
[catta] / avahi-common / strlst.h
index 0f8c8d41576c075f5da2bc02d53f4e17d215a9f9..925e944110d0013be7dcc422c53e7925fbee1556 100644 (file)
@@ -137,11 +137,15 @@ AvahiStringList *avahi_string_list_add_pair_arbitrary(AvahiStringList *l, const
 AvahiStringList *avahi_string_list_get_next(AvahiStringList *l);
 
 /** Returns the text for the current item */
-const uint8_t *avahi_string_list_get_text(AvahiStringList *l);
+uint8_t *avahi_string_list_get_text(AvahiStringList *l);
 
 /** Returns the size of the current text */
 size_t avahi_string_list_get_size(AvahiStringList *l);
 
+/** Try to find a magic service cookie in the specified DNS-SD string
+ * list. Or return AVAHI_SERVICE_COOKIE_INVALID if none is found. */
+uint32_t avahi_string_list_get_service_cookie(AvahiStringList *l);
+
 AVAHI_C_DECL_END
 
 #endif