schema tree REFACTOR function renaming
And short doc added briefly explaining
adding new module into context and its
compilation.
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index 4f82ec5..5bf1739 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -536,13 +536,14 @@
/**
* @brief Create dependency sets for all modules in a context.
+ * Also sets to_compile flags for all the modules that should be (re)compiled.
*
* @param[in] ctx Context to use.
* @param[in,out] main_set Set of dependency module sets.
* @param[in] mod Optional only module whose dependency set is needed, otherwise all sets are created.
* @return LY_ERR value.
*/
-LY_ERR lys_unres_dep_sets_to_compile(struct ly_ctx *ctx, struct ly_set *main_set, struct lys_module *mod);
+LY_ERR lys_unres_dep_sets_create(struct ly_ctx *ctx, struct ly_set *main_set, struct lys_module *mod);
/**
* @brief Revert changes stored in global compile context after a failed compilation.