| 1 | #ifndef _LIBNFTNL_COMMON_INTERNAL_H |
| 2 | #define _LIBNFTNL_COMMON_INTERNAL_H |
| 3 | |
| 4 | #define BASE_DEC 10 |
| 5 | #define BASE_HEX 16 |
| 6 | |
| 7 | #define NFTNL_SNPRINTF_BUFSIZ 4096 |
| 8 | |
| 9 | struct nftnl_parse_err { |
| 10 | int line; |
| 11 | int column; |
| 12 | int error; |
| 13 | const char *node_name; |
| 14 | }; |
| 15 | |
| 16 | enum nftnl_parse_input { |
| 17 | NFTNL_PARSE_BUFFER, |
| 18 | NFTNL_PARSE_FILE, |
| 19 | }; |
| 20 | |
| 21 | #endif |