path: root/include/json.h
diff options
authorPablo Neira Ayuso <>2015-09-07 17:56:47 +0200
committerPablo Neira Ayuso <>2015-09-07 20:00:57 +0200
commit206d98a54305a1178c7d9c5e234699813f8c6f5a (patch)
treecf4a1335eb6724cfbdb3a8caa5346a78758d9506 /include/json.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 <>
Diffstat (limited to 'include/json.h')
1 files changed, 1 insertions, 1 deletions
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,