Debian Codegraph @

include/decoder/decoder.h

raw
1 #ifndef DECODER_H
2 #define DECODER_H
3
4 #include "lexical/parser.h"
5 #include "lexical/token.h"
6 #include "main.h"
7 #include "utils/vector.h"
8 #include <stdbool.h>
9 #include <stdint.h>
10
11 /**
12 * prog: filters read from input
13 * v: initialized statement vector for decoded statements
14 * trustful: filters extracted from kernel don't need check as kernel did that
15 * Returns true if found any error
16 */
17 extern bool decode_filters (fprog *prog, vector_t *v, bool trustful);
18
19 extern token_type decode_return_k (obj_t *ret_obj, uint32_t k);
20
21 #endif