schema tree BUGFIX add missing lysp_revision struct
diff --git a/src/tree_schema.h b/src/tree_schema.h
index 12e16f2..5fd2dd8 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -190,7 +190,7 @@
uint16_t flags; /**< [schema node flags](@ref snodeflags) - only LYS_STATUS_ values are allowed */
};
-/*
+/**
* @brief Covers restrictions: range, length, pattern, must
*/
struct lysp_restr {
@@ -205,6 +205,16 @@
};
/**
+ * @brief YANG revision-stmt
+ */
+struct lysp_revision {
+ char rev[LY_REV_SIZE]; /**< revision date (madatory) */
+ const char *dsc; /**< description statement */
+ const char *ref; /**< reference statement */
+ struct lysp_ext_instance *exts; /**< list of the extension instances (0-terminated) */
+};
+
+/**
* @brief Enumeration/Bit value definition
*/
struct lysp_type_enum {