summaryrefslogtreecommitdiffstats
path: root/include/libnftables/rule.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2013-05-14 00:51:18 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-05-16 18:43:13 +0200
commit847b0a0397a535c9c44d88c40d40be3c6f5466bc (patch)
treec48bed2dbf21dfadeb8bdc8a4206bb0260d13c10 /include/libnftables/rule.h
parentb283d671ec5c85b7925bf9006248c1a702d38810 (diff)
rule: declare nft_rule_list structure at a proper place
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/rule.h')
-rw-r--r--include/libnftables/rule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h
index 50944cd..bb12e67 100644
--- a/include/libnftables/rule.h
+++ b/include/libnftables/rule.h
@@ -54,6 +54,8 @@ struct nft_rule_expr_iter *nft_rule_expr_iter_create(struct nft_rule *r);
struct nft_rule_expr *nft_rule_expr_iter_next(struct nft_rule_expr_iter *iter);
void nft_rule_expr_iter_destroy(struct nft_rule_expr_iter *iter);
+struct nft_rule_list;
+
struct nft_rule_list *nft_rule_list_alloc(void);
void nft_rule_list_free(struct nft_rule_list *list);
void nft_rule_list_add(struct nft_rule *r, struct nft_rule_list *list);