summaryrefslogtreecommitdiffstats
path: root/avahi-common/strlst.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-10 00:54:02 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-10 00:54:02 +0000
commit9b68da84a46cfb4989bee3499278ada856d96758 (patch)
tree4c7526c14208b23283224704d47d2514040ec1c4 /avahi-common/strlst.h
parentccae11c51822c2d2fd0a83012346c4c16ef86529 (diff)
add new API function avahi_string_list_get_service_cookie()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@557 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/strlst.h')
-rw-r--r--avahi-common/strlst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/avahi-common/strlst.h b/avahi-common/strlst.h
index 2c39351..925e944 100644
--- a/avahi-common/strlst.h
+++ b/avahi-common/strlst.h
@@ -142,6 +142,10 @@ 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