From ed809a51fdd1c313cd256301ef6f7211e8394cb1 Mon Sep 17 00:00:00 2001 From: David Timber Date: Wed, 1 Jan 2020 09:50:34 +1100 Subject: checkpoint --- src/protocol.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/protocol.h (limited to 'src/protocol.h') 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 + + +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); -- cgit