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