cctools
text_list.h
1#ifndef TEXT_LIST_H
2#define TEXT_LIST_H
3
4struct text_list *text_list_create();
5struct text_list *text_list_load(const char *path);
6struct text_list *text_list_load_str(const char *inp_str);
7char *text_list_get(struct text_list *t, int i);
8int text_list_append(struct text_list *t, const char *item);
9int text_list_size(struct text_list *t);
10void text_list_set(struct text_list *t, const char *item, int i);
11void text_list_delete(struct text_list *t);
12
13#endif