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

AvahiStringList* avahi_string_list_new ( const char *  txt,

Create a new string list by taking a variable list of NUL terminated strings. The strings are copied using g_strdup(). The argument list must be terminated by a NULL pointer.

Definition at line 276 of file strlst.c.

    va_list va;
    AvahiStringList *r = NULL;

    if (txt) {
        r = avahi_string_list_add(r, txt);

        va_start(va, txt);
        r = avahi_string_list_add_many_va(r, va);

    return r;

Generated by  Doxygen 1.6.0   Back to index