18:cae1294702aa | 19:8bac9fd0629d |
---|---|
1 /* | |
2 * string_list.h | |
3 * | |
4 * Created on: 15.09.2011 | |
5 * Author: beckermi | |
6 */ | |
7 | |
8 #ifndef STRING_LIST_H_ | |
9 #define STRING_LIST_H_ | |
10 | |
11 #include "stdinc.h" | |
12 | |
13 typedef struct _string_list { | |
14 int count; | |
15 char** items; | |
16 } string_list_t; | |
17 | |
18 #ifdef _cplusplus | |
19 extern "C" { | |
20 #endif | |
21 | |
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*); | |
25 | |
26 #ifdef _cplusplus | |
27 } | |
28 #endif | |
29 | |
30 #endif /* STRING_LIST_H_ */ |