| 1 |
#ifndef ARCH_TRANS_H |
| 2 |
#define ARCH_TRANS_H |
| 3 |
|
| 4 |
#include "lexical/token.h" |
| 5 |
#include "main.h" |
| 6 |
#include <seccomp.h> |
| 7 |
#include <stdint.h> |
| 8 |
#include <stdbool.h> |
| 9 |
|
| 10 |
extern uint32_t internal_arch_to_scmp_arch (uint32_t internal_arch); |
| 11 |
|
| 12 |
extern uint32_t scmp_arch_to_internal_arch (uint32_t scmp_arch); |
| 13 |
|
| 14 |
extern uint32_t str_to_scmp_arch (const char *str, bool strict); |
| 15 |
|
| 16 |
extern token_type str_to_internal_arch (const char *str, bool strict); |
| 17 |
|
| 18 |
extern const string_t *scmp_arch_to_str (uint32_t scmp_arch); |
| 19 |
|
| 20 |
#endif |