include/resolver/resolver.h
raw| 1 | #ifndef RESOLVER_H |
| 2 | #define RESOLVER_H |
| 3 | |
| 4 | #include "utils/vector.h" |
| 5 | #include <stdbool.h> |
| 6 | #include <stdint.h> |
| 7 | |
| 8 | #define _SCMP_ACT_TRAP(x) (SCMP_ACT_TRAP | ((x) & 0x0000ffffU)) |
| 9 | |
| 10 | // see vector.h for vector details |
| 11 | // return false if ok, return true if error occurs |
| 12 | extern bool resolver (vector_t *code_ptr_v); |
| 13 | |
| 14 | #endif |