aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/stringlist.h')
-rw-r--r--src/stringlist.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stringlist.h b/src/stringlist.h
new file mode 100644
index 0000000..60800f0
--- /dev/null
+++ b/src/stringlist.h
@@ -0,0 +1,15 @@
+#ifndef STRINGLIST_H
+#define STRINGLIST_H
+
+#include <sys/types.h>
+
+typedef struct StringList StringList;
+
+StringList* stringListCreate(size_t);
+unsigned int stringListCount(StringList*);
+int stringListInsertAt(StringList*, unsigned int, char*);
+char* stringListGetAt(StringList*, unsigned int);
+void stringListPrint(StringList*);
+void stringListFree(StringList*);
+
+#endif