suffix_list.h

changeset 10
ecf787666f44
child 11
06cbd0ec003d
--- /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_ */

mercurial