Logo Search packages:      
Sourcecode: avahi version File versions  Download package

AvahiStringList* avahi_string_list_add_pair ( AvahiStringList l,
const char *  key,
const char *  value 

Add a new DNS-SD TXT key value pair to the string list. value may be NULL in case you want to specify a key without a value

Definition at line 397 of file strlst.c.


    if (value)
        return avahi_string_list_add_printf(l, "%s=%s", key, value);
        return avahi_string_list_add(l, key);

Generated by  Doxygen 1.6.0   Back to index