void word_list_sort(word_list_t wl, int(*compar)(const void *, const void *))
sort a list of words using comparison function
unsigned long word_list_count(const word_list_t wl)
count the number of items in a word list
void word_list_inject(const word_list_t wl, void *data, int(*fnptr)(void *, const char *))
int word_list_insert(word_list_t wl, const char *word)
insert a word into a word list
word_list_t word_list_create(size_t n)
create a new word list
void word_list_free(word_list_t words)
free the memory associated with a word list
void word_list_foreach(const word_list_t wl, void(*fp)(char *))
struct word_list * word_list_t
Definition: word_list.h:12