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 char *text_list_get(struct text_list *t, int i);
7 int text_list_append(struct text_list *t, const char *item);
8 int text_list_size(struct text_list *t);
9 void text_list_delete(struct text_list *t);
10 
11 
12 #endif