parser REFACTOR unify function naming
diff --git a/src/parser_json.c b/src/parser_json.c
index 4a94d03..7f0f2d1 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -671,7 +671,7 @@
}
/* add/correct flags */
- ret = lyd_parse_set_data_flags(node, &node->meta, (struct lyd_ctx *)lydctx, ext);
+ ret = lyd_parser_set_data_flags(node, &node->meta, (struct lyd_ctx *)lydctx, ext);
LY_CHECK_GOTO(ret, cleanup);
break;
}
@@ -857,7 +857,7 @@
LY_CHECK_GOTO(rc, cleanup);
/* add/correct flags */
- rc = lyd_parse_set_data_flags(node, &node->meta, (struct lyd_ctx *)lydctx, NULL);
+ rc = lyd_parser_set_data_flags(node, &node->meta, (struct lyd_ctx *)lydctx, NULL);
LY_CHECK_GOTO(rc, cleanup);
} else {
/* create attribute */
@@ -1434,7 +1434,7 @@
if (snode->nodetype == LYS_LIST) {
/* check all keys exist */
- r = lyd_parse_check_keys(*node);
+ r = lyd_parser_check_keys(*node);
LY_DPARSER_ERR_GOTO(r, rc = r, lydctx, cleanup);
}
@@ -1530,7 +1530,7 @@
LY_CHECK_GOTO(!*node, cleanup);
/* add/correct flags */
- r = lyd_parse_set_data_flags(*node, &(*node)->meta, (struct lyd_ctx *)lydctx, ext);
+ r = lyd_parser_set_data_flags(*node, &(*node)->meta, (struct lyd_ctx *)lydctx, ext);
LY_CHECK_ERR_GOTO(r, rc = r, cleanup);
if (!(lydctx->parse_opts & LYD_PARSE_ONLY)) {