4 /* Forward declarations */
6 struct mystr_list_node
;
10 unsigned int PRIVATE_HANDS_OFF_alloc_len
;
11 unsigned int PRIVATE_HANDS_OFF_list_len
;
12 struct mystr_list_node
* PRIVATE_HANDS_OFF_p_nodes
;
15 #define INIT_STRLIST \
18 void str_list_free(struct mystr_list
* p_list
);
20 void str_list_add(struct mystr_list
* p_list
, const struct mystr
* p_str
,
21 const struct mystr
* p_sort_key_str
);
22 void str_list_sort(struct mystr_list
* p_list
, int reverse
);
24 int str_list_get_length(const struct mystr_list
* p_list
);
25 int str_list_contains_str(const struct mystr_list
* p_list
,
26 const struct mystr
* p_str
);
28 const struct mystr
* str_list_get_pstr(const struct mystr_list
* p_list
,
31 #endif /* VSF_STRLIST_H */