str-list.h: added str_list_export prototype.
This commit is contained in:
parent
222f34aed0
commit
cb5eef43b2
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ char* str_list_lookup(const struct str_list *list, const char *str);
|
|||
|
||||
int str_list_has(const struct str_list *list, const char *str);
|
||||
|
||||
char** str_list_export(struct str_list *list);
|
||||
|
||||
#define str_list_foreach(i, l) \
|
||||
for(i = (l)->items; i < (l)->items + (l)->nr; ++i)
|
||||
|
||||
|
|
|
|||
Reference in a new issue