Lines Matching defs:lst
51 liblist_free(liblist_t *lst)
53 if (!lst)
56 libnode_t *n = lst->head;
66 free(lst);
70 liblist_add(liblist_t *lst, off_t off)
74 if (!lst)
86 if (!lst->head) {
87 lst->head = n;
88 lst->tail = n;
90 lst->tail->next = n;
91 lst->tail = n;
98 liblist_foreach(liblist_t *lst, int (*cb)(libnode_t *, void *, void *),
101 if (!lst)
104 libnode_t *n = lst->head;
116 liblist_copy(liblist_t *lst)
118 if (!lst)
126 if (liblist_foreach(lst, copyto_liblist_cb, nl, NULL) == -1)
159 liblist_t *lst = (liblist_t *)info;
160 if (liblist_add(lst, n->nameoff) == NULL)
162 lst->tail->verlist = liblist_copy(n->verlist);