Thu, 26 Jan 2012 15:55:52 +0100
added regexp_parser struct and compile function
universe@10 | 1 | /* |
universe@19 | 2 | * string_list.h |
universe@10 | 3 | * |
universe@10 | 4 | * Created on: 15.09.2011 |
universe@20 | 5 | * Author: Mike |
universe@10 | 6 | */ |
universe@10 | 7 | |
universe@19 | 8 | #ifndef STRING_LIST_H_ |
universe@19 | 9 | #define STRING_LIST_H_ |
universe@10 | 10 | |
universe@10 | 11 | #include "stdinc.h" |
universe@10 | 12 | |
universe@19 | 13 | typedef struct _string_list { |
universe@27 | 14 | size_t count; |
universe@10 | 15 | char** items; |
universe@19 | 16 | } string_list_t; |
universe@10 | 17 | |
universe@10 | 18 | #ifdef _cplusplus |
universe@10 | 19 | extern "C" { |
universe@10 | 20 | #endif |
universe@10 | 21 | |
universe@19 | 22 | string_list_t* new_string_list_t(); |
universe@19 | 23 | void destroy_string_list_t(string_list_t*); |
universe@19 | 24 | void add_string(string_list_t*, char*); |
universe@10 | 25 | |
universe@10 | 26 | #ifdef _cplusplus |
universe@10 | 27 | } |
universe@10 | 28 | #endif |
universe@10 | 29 | |
universe@19 | 30 | #endif /* STRING_LIST_H_ */ |