diff -r 28319b20968c -r ecf787666f44 suffix_list.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/suffix_list.h Thu Sep 15 13:29:06 2011 +0200 @@ -0,0 +1,30 @@ +/* + * suffix_list.h + * + * Created on: 15.09.2011 + * Author: beckermi + */ + +#ifndef SUFFIX_LIST_H_ +#define SUFFIX_LIST_H_ + +#include "stdinc.h" + +typedef struct _suffix_list { + int count; + char** items; +} suffix_list_t; + +#ifdef _cplusplus +extern "C" { +#endif + +suffix_list_t* new_suffix_list_t(); +void destroy_suffix_list_t(suffix_list_t*); +void add_suffix(suffix_list_t*, char*); + +#ifdef _cplusplus +} +#endif + +#endif /* SUFFIX_LIST_H_ */