schema CHANGE rename lys_is_disabled() to lysc_node_is_disabled()
avoid confusion with disable whole module
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 7bacbea..daf0a56 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -176,7 +176,7 @@
if (!(options & LYS_GETNEXT_NOSTATECHECK)) {
/* check if the node is disabled by if-feature */
- if (lys_is_disabled(next, 0)) {
+ if (lysc_node_is_disabled(next, 0)) {
next = next->next;
goto repeat;
}
@@ -559,7 +559,7 @@
}
API const struct lysc_iffeature *
-lys_is_disabled(const struct lysc_node *node, int recursive)
+lysc_node_is_disabled(const struct lysc_node *node, int recursive)
{
unsigned int u;
diff --git a/src/tree_schema.h b/src/tree_schema.h
index 179ac8c..da73da2 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -1952,7 +1952,7 @@
* @return - NULL if enabled,
* - pointer to the node with the unsatisfied (disabling) if-feature expression.
*/
-const struct lysc_iffeature *lys_is_disabled(const struct lysc_node *node, int recursive);
+const struct lysc_iffeature *lysc_node_is_disabled(const struct lysc_node *node, int recursive);
/**
* @brief Check type restrictions applicable to the particular leaf/leaf-list with the given string @p value.