Sun, 16 Oct 2011 12:20:52 +0200
generalized suffix_list to string_list
1 /*
2 * string_list.h
3 *
4 * Created on: 15.09.2011
5 * Author: beckermi
6 */
8 #ifndef STRING_LIST_H_
9 #define STRING_LIST_H_
11 #include "stdinc.h"
13 typedef struct _string_list {
14 int count;
15 char** items;
16 } string_list_t;
18 #ifdef _cplusplus
19 extern "C" {
20 #endif
22 string_list_t* new_string_list_t();
23 void destroy_string_list_t(string_list_t*);
24 void add_string(string_list_t*, char*);
26 #ifdef _cplusplus
27 }
28 #endif
30 #endif /* STRING_LIST_H_ */