slist 59 libltdl/libltdl/slist.h struct slist *next; /* chain forward pointer*/ slist 68 libltdl/libltdl/slist.h LT_SCOPE SList *slist_cons (SList *item, SList *slist); slist 70 libltdl/libltdl/slist.h LT_SCOPE SList *slist_delete (SList *slist, void (*delete_fct) (void *item)); slist 73 libltdl/libltdl/slist.h LT_SCOPE SList *slist_reverse (SList *slist); slist 74 libltdl/libltdl/slist.h LT_SCOPE SList *slist_sort (SList *slist, SListCompare *compare, slist 77 libltdl/libltdl/slist.h LT_SCOPE SList *slist_tail (SList *slist); slist 78 libltdl/libltdl/slist.h LT_SCOPE SList *slist_nth (SList *slist, size_t n); slist 79 libltdl/libltdl/slist.h LT_SCOPE void * slist_find (SList *slist, SListCallback *find, slist 81 libltdl/libltdl/slist.h LT_SCOPE size_t slist_length (SList *slist); slist 83 libltdl/libltdl/slist.h LT_SCOPE void * slist_foreach (SList *slist, SListCallback *foreach, slist 118 libltdl/slist.c slist_find (SList *slist, SListCallback *find, void *matchdata) slist 124 libltdl/slist.c for (; slist; slist = slist->next) slist 126 libltdl/slist.c result = (*find) (slist, matchdata); slist 168 libltdl/slist.c slist_cons (SList *item, SList *slist) slist 172 libltdl/slist.c return slist; slist 177 libltdl/slist.c item->next = slist; slist 183 libltdl/slist.c slist_tail (SList *slist) slist 185 libltdl/slist.c return slist ? slist->next : NULL; slist 194 libltdl/slist.c slist_nth (SList *slist, size_t n) slist 196 libltdl/slist.c for (;n > 1 && slist; n--) slist 197 libltdl/slist.c slist = slist->next; slist 199 libltdl/slist.c return slist; slist 205 libltdl/slist.c slist_length (SList *slist) slist 209 libltdl/slist.c for (n = 0; slist; ++n) slist 210 libltdl/slist.c slist = slist->next; slist 223 libltdl/slist.c slist_reverse (SList *slist) slist 228 libltdl/slist.c while (slist) slist 230 libltdl/slist.c next = slist->next; slist 231 libltdl/slist.c slist->next = result; slist 232 libltdl/slist.c result = slist; slist 233 libltdl/slist.c slist = next; slist 242 libltdl/slist.c slist_foreach (SList *slist, SListCallback *foreach, void *userdata) slist 248 libltdl/slist.c while (slist) slist 250 libltdl/slist.c SList *next = slist->next; slist 251 libltdl/slist.c result = (*foreach) (slist, userdata); slist 256 libltdl/slist.c slist = next; slist 307 libltdl/slist.c slist_sort (SList *slist, SListCompare *compare, void *userdata) slist 311 libltdl/slist.c if (!slist) slist 312 libltdl/slist.c return slist; slist 315 libltdl/slist.c left = slist; slist 316 libltdl/slist.c right = slist->next; slist 327 libltdl/slist.c slist = slist->next; slist 329 libltdl/slist.c right = slist->next; slist 330 libltdl/slist.c slist->next = 0;