aboutsummaryrefslogtreecommitdiff
path: root/src/utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilities.h')
-rw-r--r--src/utilities.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/utilities.h b/src/utilities.h
new file mode 100644
index 0000000..6787883
--- /dev/null
+++ b/src/utilities.h
@@ -0,0 +1,14 @@
+#ifndef UTILITIES_H
+#define UTILITIES_H
+
+#include <stdlib.h>
+
+void shuffle(void *base, size_t nitems, size_t size);
+
+void init2d(void **array, size_t width, size_t height, size_t size);
+
+size_t sizeof_2d(size_t width, size_t height, size_t size);
+
+int find_lr_ints(char *text, char **left, char **right);
+
+#endif \ No newline at end of file