From 206d98a54305a1178c7d9c5e234699813f8c6f5a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 7 Sep 2015 17:56:47 +0200 Subject: 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 --- include/xml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/xml.h') 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, -- cgit v1.2.3