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/json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/json.h') diff --git a/include/json.h b/include/json.h index a15a65b..bd70cec 100644 --- a/include/json.h +++ b/include/json.h @@ -29,7 +29,7 @@ int nftnl_jansson_str2num(json_t *root, const char *node_name, int base, void *o enum nftnl_type type, struct nftnl_parse_err *err); int nftnl_jansson_parse_reg(json_t *root, const char *node_name, int type, void *out, struct nftnl_parse_err *err); -struct nftnl_rule_expr *nftnl_jansson_expr_parse(json_t *root, +struct nftnl_expr *nftnl_jansson_expr_parse(json_t *root, struct nftnl_parse_err *err, struct nftnl_set_list *set_list); int nftnl_jansson_data_reg_parse(json_t *root, const char *node_name, -- cgit v1.2.3