data parsers CHANGE simplify API of data parser functions
Adds some checks regarding data set type and prepares code for support
of RPCs/actions and Notifications.
diff --git a/src/tree_schema.h b/src/tree_schema.h
index e8b3f75..004a195 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -67,6 +67,7 @@
#define LYS_ANYDATA 0x0120 /**< anydata statement node, in tests it can be used for both #LYS_ANYXML and #LYS_ANYDATA */
#define LYS_ACTION 0x400 /**< RPC or action */
+#define LYS_RPC LYS_ACTION /**< RPC or action (for backward compatibility) */
#define LYS_NOTIF 0x800
#define LYS_CASE 0x0040 /**< case statement node */