summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 556cc97..e279093 100644
--- a/misc.h
+++ b/misc.h
@@ -22,4 +22,16 @@ extern inline float restrict_flt(float f, float min, float max);
char *mystrdup(char *s);
+struct strlist
+{
+ char *str;
+ struct strlist *next;
+};
+
+void strlist_add(struct strlist **list, char *str);
+
+int strlist_find(struct strlist **list, char *str);
+
+void strlist_free(struct strlist **list);
+
#endif \ No newline at end of file