libyang FEATURE new flags for schema nodes in operations
Fixes #1372
diff --git a/src/schema_compile.h b/src/schema_compile.h
index 17f8105..1a30037 100644
--- a/src/schema_compile.h
+++ b/src/schema_compile.h
@@ -37,10 +37,9 @@
*
* @{
*/
-#define LYS_COMPILE_RPC_INPUT LYS_CONFIG_W /**< Internal option when compiling schema tree of RPC/action input */
-#define LYS_COMPILE_RPC_OUTPUT LYS_CONFIG_R /**< Internal option when compiling schema tree of RPC/action output */
-#define LYS_COMPILE_RPC_MASK LYS_CONFIG_MASK /**< mask for the internal RPC options */
-#define LYS_COMPILE_NOTIFICATION 0x04 /**< Internal option when compiling schema tree of Notification */
+#define LYS_COMPILE_RPC_INPUT LYS_IS_INPUT /**< Internal option when compiling schema tree of RPC/action input */
+#define LYS_COMPILE_RPC_OUTPUT LYS_IS_OUTPUT /**< Internal option when compiling schema tree of RPC/action output */
+#define LYS_COMPILE_NOTIFICATION LYS_IS_NOTIF /**< Internal option when compiling schema tree of Notification */
#define LYS_COMPILE_GROUPING 0x08 /**< Compiling (validation) of a non-instantiated grouping.
In this case not all the restrictions are checked since they can