1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/suffix_list.h Thu Sep 15 13:29:06 2011 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +/* 1.5 + * suffix_list.h 1.6 + * 1.7 + * Created on: 15.09.2011 1.8 + * Author: beckermi 1.9 + */ 1.10 + 1.11 +#ifndef SUFFIX_LIST_H_ 1.12 +#define SUFFIX_LIST_H_ 1.13 + 1.14 +#include "stdinc.h" 1.15 + 1.16 +typedef struct _suffix_list { 1.17 + int count; 1.18 + char** items; 1.19 +} suffix_list_t; 1.20 + 1.21 +#ifdef _cplusplus 1.22 +extern "C" { 1.23 +#endif 1.24 + 1.25 +suffix_list_t* new_suffix_list_t(); 1.26 +void destroy_suffix_list_t(suffix_list_t*); 1.27 +void add_suffix(suffix_list_t*, char*); 1.28 + 1.29 +#ifdef _cplusplus 1.30 +} 1.31 +#endif 1.32 + 1.33 +#endif /* SUFFIX_LIST_H_ */