From 9b68da84a46cfb4989bee3499278ada856d96758 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Sep 2005 00:54:02 +0000 Subject: 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 --- avahi-common/strlst.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'avahi-common/strlst.h') 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 -- cgit