|
|
@ -11,11 +11,11 @@ struct wordlist { |
|
|
|
|
|
|
|
|
typedef struct wordlist wordlist; |
|
|
typedef struct wordlist wordlist; |
|
|
|
|
|
|
|
|
int wl_length(wordlist *wlist); |
|
|
|
|
|
|
|
|
int wl_length(const wordlist *wlist); |
|
|
void wl_free(wordlist *wlist); |
|
|
void wl_free(wordlist *wlist); |
|
|
wordlist * wl_copy(wordlist *wlist); |
|
|
wordlist * wl_copy(wordlist *wlist); |
|
|
wordlist * wl_splice(wordlist *elt, wordlist *list); |
|
|
wordlist * wl_splice(wordlist *elt, wordlist *list); |
|
|
void wl_print(wordlist *wlist, FILE *fp); |
|
|
|
|
|
|
|
|
void wl_print(const wordlist *wlist, FILE *fp); |
|
|
wordlist * wl_build(char **v); |
|
|
wordlist * wl_build(char **v); |
|
|
char ** wl_mkvec(wordlist *wl); |
|
|
char ** wl_mkvec(wordlist *wl); |
|
|
wordlist * wl_append(wordlist *wlist, wordlist *nwl); |
|
|
wordlist * wl_append(wordlist *wlist, wordlist *nwl); |
|
|
@ -31,7 +31,7 @@ void wl_append_word(wordlist **first, wordlist **last, char *word); |
|
|
wordlist *wl_chop(wordlist *wlist); |
|
|
wordlist *wl_chop(wordlist *wlist); |
|
|
wordlist *wl_chop_rest(wordlist *wlist); |
|
|
wordlist *wl_chop_rest(wordlist *wlist); |
|
|
|
|
|
|
|
|
wordlist *wl_find(const char *string, wordlist *wlist); |
|
|
|
|
|
|
|
|
wordlist *wl_find(const char *string, const wordlist *wlist); |
|
|
void wl_delete_slice(wordlist *from, wordlist *to); |
|
|
void wl_delete_slice(wordlist *from, wordlist *to); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|