1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/string_list.h Sun Oct 16 12:20:52 2011 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +/* 1.5 + * string_list.h 1.6 + * 1.7 + * Created on: 15.09.2011 1.8 + * Author: beckermi 1.9 + */ 1.10 + 1.11 +#ifndef STRING_LIST_H_ 1.12 +#define STRING_LIST_H_ 1.13 + 1.14 +#include "stdinc.h" 1.15 + 1.16 +typedef struct _string_list { 1.17 + int count; 1.18 + char** items; 1.19 +} string_list_t; 1.20 + 1.21 +#ifdef _cplusplus 1.22 +extern "C" { 1.23 +#endif 1.24 + 1.25 +string_list_t* new_string_list_t(); 1.26 +void destroy_string_list_t(string_list_t*); 1.27 +void add_string(string_list_t*, char*); 1.28 + 1.29 +#ifdef _cplusplus 1.30 +} 1.31 +#endif 1.32 + 1.33 +#endif /* STRING_LIST_H_ */