aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-02-26 12:04:08 -0600
committerame <[email protected]>2024-02-26 12:04:08 -0600
commit764dea6ddb8fb8f164858426d755afc33b3a2f1d (patch)
tree2d857a0d8da93dec15d20bfc8b604a588edc33b2 /src/util.h
parent5b4853a1b0599980f94e7459d522cfad8b4b5833 (diff)
content-disposition
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9a5b295..864108d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,3 +1,9 @@
+#ifndef __UTIL_H
+#define __UTIL_H
+
+#include "types/str.h"
+#include "types/parray.h"
+
#define color_black "\e[30m"
#define color_red "\e[31m"
#define color_green "\e[32m"
@@ -18,5 +24,9 @@
#define i_swap(A,B) double temp = A; A = B; B = temp;
+int gen_parse(char*,int, parray_t**);
void p_fatal(const char*);
void p_error(const char*);
+char* strnstr(const char*, const char*, size_t);
+
+#endif //__UTIL_H \ No newline at end of file