data tree NEW functions for searching in siblings
... using hashes if possible. Other refactoring
included.
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 370c73f..36c9d08 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -185,8 +185,8 @@
}
API const struct lysc_node *
-lys_child(const struct lysc_node *parent, const struct lys_module *module,
- const char *name, size_t name_len, uint16_t nodetype, int options)
+lys_find_child(const struct lysc_node *parent, const struct lys_module *module, const char *name, size_t name_len,
+ uint16_t nodetype, int options)
{
const struct lysc_node *node = NULL;