|
|
@ -113,14 +113,6 @@ typedef int (*string_list_each_func_t)(struct string_list_item *, void *); |
|
|
|
void filter_string_list(struct string_list *list, int free_util, |
|
|
|
void filter_string_list(struct string_list *list, int free_util, |
|
|
|
string_list_each_func_t want, void *cb_data); |
|
|
|
string_list_each_func_t want, void *cb_data); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Dump a string_list to stdout, useful mainly for debugging |
|
|
|
|
|
|
|
* purposes. It can take an optional header argument and it writes out |
|
|
|
|
|
|
|
* the string-pointer pairs of the string_list, each one in its own |
|
|
|
|
|
|
|
* line. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
void print_string_list(const struct string_list *p, const char *text); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Free a string_list. The `string` pointer of the items will be freed |
|
|
|
* Free a string_list. The `string` pointer of the items will be freed |
|
|
|
* in case the `strdup_strings` member of the string_list is set. The |
|
|
|
* in case the `strdup_strings` member of the string_list is set. The |
|
|
|