diff options
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 25 |
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); |