aboutsummaryrefslogtreecommitdiff
path: root/src/proone_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone_protocol.h')
-rw-r--r--src/proone_protocol.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/proone_protocol.h b/src/proone_protocol.h
new file mode 100644
index 0000000..0d44acb
--- /dev/null
+++ b/src/proone_protocol.h
@@ -0,0 +1,27 @@
+#pragma once
+#include <stddef.h>
+
+enum proone_arch {
+ PROONE_ARCH_NONE = -1,
+
+ PROONE_ARCH_ARMV4T,
+ PROONE_ARCH_ARMV7,
+ PROONE_ARCH_I586,
+ PROONE_ARCH_M68K,
+ PROONE_ARCH_MIPS,
+ PROONE_ARCH_MPSL,
+ PROONE_ARCH_PPC,
+ PROONE_ARCH_RV32,
+ PROONE_ARCH_RV64,
+ PROONE_ARCH_SH4,
+ PROONE_ARCH_SPC,
+ PROONE_ARCH_X86_64,
+
+ NB_PROONE_ARCH
+};
+
+typedef enum proone_arch proone_arch_t;
+
+
+const char *proone_arch2str (const proone_arch_t x);
+proone_arch_t proone_str2arch (const char *str);