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

unsigned avahi_string_list_length ( const AvahiStringList l  ) 

Return the number of elements in the string list

Definition at line 319 of file strlst.c.

References AvahiStringList::next.

                                                            {
    unsigned n = 0;

    for (; l; l = l->next)
        n++;

    return n;
}


Generated by  Doxygen 1.6.0   Back to index