Lines Matching refs:strlist
12 struct strlist { struct
18 struct strlist *strlist__new(bool dupstr, const char *slist); argument
19 void strlist__delete(struct strlist *self);
21 void strlist__remove(struct strlist *self, struct str_node *sn);
22 int strlist__load(struct strlist *self, const char *filename);
23 int strlist__add(struct strlist *self, const char *str);
25 struct str_node *strlist__entry(const struct strlist *self, unsigned int idx);
26 struct str_node *strlist__find(struct strlist *self, const char *entry);
28 static inline bool strlist__has_entry(struct strlist *self, const char *entry) in strlist__has_entry()
33 static inline bool strlist__empty(const struct strlist *self) in strlist__empty()
38 static inline unsigned int strlist__nr_entries(const struct strlist *self) in strlist__nr_entries()
44 static inline struct str_node *strlist__first(struct strlist *self) in strlist__first()
77 int strlist__parse_list(struct strlist *self, const char *s);