summaryrefslogtreecommitdiffstats
path: root/include/libnftables
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <alvaroneay@gmail.com>2013-06-06 23:14:16 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-07 13:54:17 +0200
commit2f1e7122841d00b3c0134ab9ee19e6ce02a9bd5c (patch)
tree4a863ad59e6d7065c6a8601108153715a0287d79 /include/libnftables
parentcf4f500f828ccc8720a19c211bc9ffc478c1463a (diff)
table: add function to export tables in JSON format
Signed-off-by: Alvaro Neira <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables')
-rw-r--r--include/libnftables/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/table.h b/include/libnftables/table.h
index 658230c..19f322c 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -31,6 +31,7 @@ void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table
enum {
NFT_TABLE_O_DEFAULT = 0,
NFT_TABLE_O_XML,
+ NFT_TABLE_O_JSON,
};
enum nft_table_parse_type {