Lines Matching refs:strlist
19 struct strlist { struct
25 struct strlist *strlist__new(bool dupstr, const char *slist); argument
26 void strlist__delete(struct strlist *self);
28 void strlist__remove(struct strlist *self, struct str_node *sn);
29 int strlist__load(struct strlist *self, const char *filename);
30 int strlist__add(struct strlist *self, const char *str);
32 struct str_node *strlist__entry(const struct strlist *self, unsigned int idx);
33 struct str_node *strlist__find(struct strlist *self, const char *entry);
35 static inline bool strlist__has_entry(struct strlist *self, const char *entry) in strlist__has_entry()
40 static inline bool strlist__empty(const struct strlist *self) in strlist__empty()
45 static inline unsigned int strlist__nr_entries(const struct strlist *self) in strlist__nr_entries()
51 static inline struct str_node *strlist__first(struct strlist *self) in strlist__first()
84 int strlist__parse_list(struct strlist *self, const char *s);