Lines Matching defs:strlist
7 #include "strlist.h"
18 struct strlist *strlist = container_of(rblist, struct strlist, rblist);
22 if (strlist->dupstr) {
48 struct strlist *slist = container_of(rblist, struct strlist, rblist);
62 int strlist__add(struct strlist *slist, const char *new_entry)
67 int strlist__load(struct strlist *slist, const char *filename)
94 void strlist__remove(struct strlist *slist, struct str_node *snode)
99 struct str_node *strlist__find(struct strlist *slist, const char *entry)
110 static int strlist__parse_list_entry(struct strlist *slist, const char *s)
118 int strlist__parse_list(struct strlist *slist, const char *s)
135 struct strlist *strlist__new(bool dupstr, const char *list)
137 struct strlist *slist = malloc(sizeof(*slist));
156 void strlist__delete(struct strlist *slist)
162 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx)