aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
blob: 3e57251ad86b8cc094c363ce351403a55e57e024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);