summaryrefslogtreecommitdiff
path: root/include/tinyff/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyff/common.h')
-rw-r--r--include/tinyff/common.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/tinyff/common.h b/include/tinyff/common.h
new file mode 100644
index 0000000..d53adae
--- /dev/null
+++ b/include/tinyff/common.h
@@ -0,0 +1,17 @@
+// Common header for tinyff library
+// Not recommended to be included directly
+#ifndef TINYFF_COMMON_H
+#define TINYFF_COMMON_H
+
+#include <stdint.h>
+
+// Human readable number types
+// NOTE: The only reason I created these was so
+// that debugging will be easier
+typedef uint8_t ff_byte;
+
+// Functions
+
+static inline uint32_t get_big_endian(const uint8_t *buffer);
+
+#endif \ No newline at end of file