string_list.h

changeset 34
fa9bda32de17
parent 27
95a958e3de88
equal deleted inserted replaced
33:1a2d7298bc82 34:fa9bda32de17
1 /*
2 * string_list.h
3 *
4 * Created on: 15.09.2011
5 * Author: Mike
6 */
7
8 #ifndef STRING_LIST_H_
9 #define STRING_LIST_H_
10
11 #include "stdinc.h"
12
13 typedef struct _string_list {
14 size_t 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_ */

mercurial