aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
new file mode 100644
index 0000000..c784b26
--- /dev/null
+++ b/src/types.h
@@ -0,0 +1,13 @@
+#ifndef ORYX_TYPES_H
+#define ORYX_TYPES_H
+
+#include <stddef.h>
+
+typedef unsigned char uchar;
+
+struct strview {
+ const uchar *p;
+ size_t len;
+};
+
+#endif /* !ORYX_TYPES_H */