summaryrefslogtreecommitdiffstats
path: root/include/libnftables/ruleset.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnftables/ruleset.h')
-rw-r--r--include/libnftables/ruleset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libnftables/ruleset.h b/include/libnftables/ruleset.h
index a4a1279..35e4d71 100644
--- a/include/libnftables/ruleset.h
+++ b/include/libnftables/ruleset.h
@@ -1,6 +1,8 @@
#ifndef _RULESET_H_
#define _RULESET_H_
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -37,6 +39,7 @@ enum nft_ruleset_parse_type {
int nft_ruleset_parse(struct nft_ruleset *rs, enum nft_ruleset_parse_type type, const char *data);
int nft_ruleset_snprintf(char *buf, size_t size, const struct nft_ruleset *rs, uint32_t type, uint32_t flags);
+int nft_ruleset_fprintf(FILE *fp, const struct nft_ruleset *rs, uint32_t type, uint32_t flags);
#ifdef __cplusplus
} /* extern "C" */