summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-10-11 12:23:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-11 12:24:09 +0200
commitfa22d7b058016ed748b78c7b9b65ce593f1d2e8c (patch)
tree64d3418ca95de0b561fbc6f20115f30bd2a7be32 /src
parentbc22a51c662e9b7f68dbd754396e206d9a114ed0 (diff)
src: fix compilation without xml/json support
Fixes: c04175e ("src: internal set id allocation from nft_ruleset_parse*()") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index d2f944e..db9af11 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -92,6 +92,8 @@ int nft_mxml_set_parse(mxml_node_t *tree, struct nft_set *s,
struct nft_parse_err *err);
#endif
+struct nft_set_list;
+struct nft_rule_expr;
int nft_set_lookup_id(struct nft_rule_expr *e, struct nft_set_list *set_list,
uint32_t *set_id);