An empty AvahiStringList is represented by NULL, as described in the API documentation: https://www.avahi.org/doxygen/html/struct_avahi_string_list.html. The avahi_string_list_new function is for use when the list is to be initialized with 1 or more strings.
An empty
AvahiStringList
is represented byNULL
, as described in the API documentation: https://www.avahi.org/doxygen/html/struct_avahi_string_list.html. Theavahi_string_list_new
function is for use when the list is to be initialized with 1 or more strings.