aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
new file mode 100644
index 0000000..9c206fb
--- /dev/null
+++ b/include/util.h
@@ -0,0 +1,10 @@
+#ifndef ECEX_UTIL_H
+#define ECEX_UTIL_H
+
+#include <stddef.h>
+
+int ecex_file_exists(const char *path);
+char *ecex_read_entire_file(const char *path, size_t *out_size);
+char *ecex_strdup(const char *s);
+
+#endif