diff options
author | Álvaro Neira Ayuso <alvaroneay@gmail.com> | 2013-08-27 20:10:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-28 00:21:24 +0200 |
commit | 346b24fde7fceec7e69306e3e3fa07056aecc088 (patch) | |
tree | 939cb41a99a5ca7911fc14649a78b62f0d94c5a4 /include/libnftables/set.h | |
parent | 16cb9c226bde108afac47f8537f38d502c82c51f (diff) |
set: Add json parser support
Add function for parsing set in format JSON.
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/set.h')
-rw-r--r-- | include/libnftables/set.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/set.h b/include/libnftables/set.h index c55718c..9526ae1 100644 --- a/include/libnftables/set.h +++ b/include/libnftables/set.h @@ -55,6 +55,7 @@ void nft_set_list_iter_destroy(struct nft_set_list_iter *iter); enum nft_set_parse_type { NFT_SET_PARSE_NONE = 0, NFT_SET_PARSE_XML, + NFT_SET_PARSE_JSON, NFT_SET_PARSE_MAX, }; |