aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-01-01 09:50:34 +1100
committerDavid Timber <mieabby@gmail.com>2020-01-01 09:50:34 +1100
commited809a51fdd1c313cd256301ef6f7211e8394cb1 (patch)
tree81a3054ce0d42976f80c973e2b6ebf9c1b8b7476 /src/protocol.h
parent6e456edb2757cf9d28d306afb836aa16780fb912 (diff)
checkpoint
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
new file mode 100644
index 0000000..3e57251
--- /dev/null
+++ b/src/protocol.h
@@ -0,0 +1,25 @@
+#pragma once
+#include <stddef.h>
+
+
+typedef enum {
+ PRNE_ARCH_NONE = -1,
+
+ PRNE_ARCH_ARMV4T,
+ PRNE_ARCH_ARMV7,
+ PRNE_ARCH_I586,
+ PRNE_ARCH_M68K,
+ PRNE_ARCH_MIPS,
+ PRNE_ARCH_MPSL,
+ PRNE_ARCH_PPC,
+ PRNE_ARCH_RV32,
+ PRNE_ARCH_RV64,
+ PRNE_ARCH_SH4,
+ PRNE_ARCH_SPC,
+
+ NB_PRNE_ARCH
+} prne_arch_t;
+
+
+const char *prne_arch2str (const prne_arch_t x);
+prne_arch_t prne_str2arch (const char *str);