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

AvahiStringList* avahi_string_list_add ( AvahiStringList l,
const char *  text 
)

Append a NUL terminated string to the specified string list. The passed string is copied using g_strdup(). Returns the new list start.

Definition at line 65 of file strlst.c.

                                                                             {
    assert(text);

    return avahi_string_list_add_arbitrary(l, (const uint8_t*) text, strlen(text));
}


Generated by  Doxygen 1.6.0   Back to index