summaryrefslogtreecommitdiffstats
path: root/include/xml.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 17:56:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:00:57 +0200
commit206d98a54305a1178c7d9c5e234699813f8c6f5a (patch)
treecf4a1335eb6724cfbdb3a8caa5346a78758d9506 /include/xml.h
parent96807c4c05e1e76b8bbf00d874a28a279e7d2840 (diff)
src: rename nftnl_rule_expr to nftnl_expr
Use a shorter name for this, morever this can be used from sets so the _rule_ is misleading. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xml.h')
-rw-r--r--include/xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xml.h b/include/xml.h
index 454de44..7b33a83 100644
--- a/include/xml.h
+++ b/include/xml.h
@@ -18,7 +18,7 @@ union nftnl_data_reg;
mxml_node_t *nftnl_mxml_build_tree(const void *data, const char *treename,
struct nftnl_parse_err *err, enum nftnl_parse_input input);
-struct nftnl_rule_expr *nftnl_mxml_expr_parse(mxml_node_t *node,
+struct nftnl_expr *nftnl_mxml_expr_parse(mxml_node_t *node,
struct nftnl_parse_err *err,
struct nftnl_set_list *set_list);
int nftnl_mxml_reg_parse(mxml_node_t *tree, const char *reg_name, uint32_t *reg,