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

AvahiStringList* avahi_string_list_reverse ( AvahiStringList l  ) 

Reverse the string list.

Definition at line 120 of file strlst.c.

References AvahiStringList::next.

                                                               {
    AvahiStringList *r = NULL, *n;

    while (l) {
        n = l->next;
        l->next = r;
        r = l;
        l = n;
    }

    return r;
}


Generated by  Doxygen 1.6.0   Back to index