summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO-RELEASE1
-rw-r--r--include/osmocom/vty/command.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 93198e40..4d22f958 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,2 +1,3 @@
#library what description / commit summary line
libosmovty abi-change stats/vty: Add stats configuration (enum node_type has changed)
+libosmovty abi-change vty: Add reserved nodes to enum node_type
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index 890f0d6d..2ef4109e 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -84,6 +84,15 @@ enum node_type {
L_NS_NODE, /*!< \brief NS node in libosmo-gb. */
L_BSSGP_NODE, /*!< \brief BSSGP node in libosmo-gb. */
+ /*
+ * When adding new nodes to the libosmocore project, these nodes can be
+ * used to avoid ABI changes for unrelated projects.
+ */
+ RESERVED1_NODE, /*!< \brief Reserved for later extensions */
+ RESERVED2_NODE, /*!< \brief Reserved for later extensions */
+ RESERVED3_NODE, /*!< \brief Reserved for later extensions */
+ RESERVED4_NODE, /*!< \brief Reserved for later extensions */
+
_LAST_OSMOVTY_NODE
};