summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/common.h b/include/common.h
index 4b9e2c5..425bbf5 100644
--- a/include/common.h
+++ b/include/common.h
@@ -4,29 +4,29 @@
#define BASE_DEC 10
#define BASE_HEX 16
-#define NFT_SNPRINTF_BUFSIZ 4096
+#define NFTNL_SNPRINTF_BUFSIZ 4096
-struct nft_parse_err {
+struct nftnl_parse_err {
int line;
int column;
int error;
const char *node_name;
};
-enum nft_parse_input {
- NFT_PARSE_BUFFER,
- NFT_PARSE_FILE,
+enum nftnl_parse_input {
+ NFTNL_PARSE_BUFFER,
+ NFTNL_PARSE_FILE,
};
#include <stdio.h>
-int nft_cmd_header_snprintf(char *buf, size_t bufsize, uint32_t cmd,
+int nftnl_cmd_header_snprintf(char *buf, size_t bufsize, uint32_t cmd,
uint32_t format, uint32_t flags);
-int nft_cmd_header_fprintf(FILE *fp, uint32_t cmd, uint32_t format,
+int nftnl_cmd_header_fprintf(FILE *fp, uint32_t cmd, uint32_t format,
uint32_t flags);
-int nft_cmd_footer_snprintf(char *buf, size_t bufsize, uint32_t cmd,
+int nftnl_cmd_footer_snprintf(char *buf, size_t bufsize, uint32_t cmd,
uint32_t format, uint32_t flags);
-int nft_cmd_footer_fprintf(FILE *fp, uint32_t cmd, uint32_t format,
+int nftnl_cmd_footer_fprintf(FILE *fp, uint32_t cmd, uint32_t format,
uint32_t flags);
#endif