types CHANGE make internal compilation flags public for the extension plugins
Extension plugins perform compilation so they need also to know the
compilation options used by libyang.
diff --git a/src/plugins_exts.h b/src/plugins_exts.h
index 2e90167..2313821 100644
--- a/src/plugins_exts.h
+++ b/src/plugins_exts.h
@@ -54,6 +54,24 @@
*/
/**
+ * @defgroup scflags Schema compile flags
+ * @ingroup schematree
+ *
+ * @{
+ */
+#define LYSC_OPT_RPC_INPUT LYS_CONFIG_W /**< Internal option when compiling schema tree of RPC/action input */
+#define LYSC_OPT_RPC_OUTPUT LYS_CONFIG_R /**< Internal option when compiling schema tree of RPC/action output */
+#define LYSC_OPT_RPC_MASK LYS_CONFIG_MASK /**< mask for the internal RPC options */
+#define LYSC_OPT_FREE_SP 0x04 /**< Free the input printable schema */
+#define LYSC_OPT_INTERNAL 0x08 /**< Internal compilation caused by dependency */
+#define LYSC_OPT_NOTIFICATION 0x10 /**< Internal option when compiling schema tree of Notification */
+
+#define LYSC_OPT_GROUPING 0x20 /** Compiling (validation) of a non-instantiated grouping.
+ In this case not all the restrictions are checked since they can be valid only
+ in the real placement of the grouping. TODO - what specifically is not done */
+/** @} scflags */
+
+/**
* @brief internal context for compilation
*/
struct lysc_ctx {
diff --git a/src/tree_data.h b/src/tree_data.h
index c9456d6..0770f08 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -686,6 +686,7 @@
*
* @param[in] node1 The first node to compare.
* @param[in] node2 The second node to compare.
+ * @param[in] options Various @ref datacompareoptions.
* @return LY_SUCCESS if the nodes are equivalent.
* @return LY_ENOT if the nodes are not equivalent.
*/
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index 34329af..1fac1fe 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -297,24 +297,6 @@
LY_ERR lysp_load_submodule(struct lys_parser_ctx *ctx, struct lysp_module *mod, struct lysp_include *inc);
/**
- * @defgroup scflags Schema compile flags
- * @ingroup schematree
- *
- * @{
- */
-#define LYSC_OPT_RPC_INPUT LYS_CONFIG_W /**< Internal option when compiling schema tree of RPC/action input */
-#define LYSC_OPT_RPC_OUTPUT LYS_CONFIG_R /**< Internal option when compiling schema tree of RPC/action output */
-#define LYSC_OPT_RPC_MASK LYS_CONFIG_MASK /**< mask for the internal RPC options */
-#define LYSC_OPT_FREE_SP 0x04 /**< Free the input printable schema */
-#define LYSC_OPT_INTERNAL 0x08 /**< Internal compilation caused by dependency */
-#define LYSC_OPT_NOTIFICATION 0x10 /**< Internal option when compiling schema tree of Notification */
-
-#define LYSC_OPT_GROUPING 0x20 /** Compiling (validation) of a non-instantiated grouping.
- In this case not all the restrictions are checked since they can be valid only
- in the real placement of the grouping. TODO - what specifically is not done */
-/** @} scflags */
-
-/**
* @brief Compile printable schema into a validated schema linking all the references.
*
* @param[in, out] mod Schema structure holding pointers to both schema structure types. The ::lys_module#parsed