Change in libosmocore[master]: command: add library command attribute for libosmo-sccp

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Oct 5 19:04:27 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/20460 )


Change subject: command: add library command attribute for libosmo-sccp
......................................................................

command: add library command attribute for libosmo-sccp

Change-Id: I4439a414af05700cb1ccff7e7e5927ffc194d171
Related: SYS#4937, OS#1601
---
M include/osmocom/vty/command.h
M src/vty/command.c
2 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/60/20460/1

diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index 07ec242..232da2c 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -152,6 +152,7 @@
 	 * 2. Brevity: shortenings and abbreviations are welcome!
 	 * 3. Values are not flags but indexes, unlike CMD_ATTR_*.
 	 * 4. Ordering: new entries added before _OSMO_CORE_LIB_ATTR_COUNT. */
+	OSMO_SCCP_LIB_ATTR_RSTRT_ASP,
 
 	/* Keep this floating entry last, it's needed for count check. */
 	_OSMO_CORE_LIB_ATTR_COUNT
diff --git a/src/vty/command.c b/src/vty/command.c
index 7752c91..f21261b 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -635,12 +635,15 @@
 static const char * const cmd_lib_attr_desc[32] = {
 	/* [OSMO_LIBNAME_LIB_ATTR_ATTRNAME] = \
 	 * 	"Brief but meaningful description", */
+	[OSMO_SCCP_LIB_ATTR_RSTRT_ASP] = \
+		"This command applies on ASP restart",
 };
 
 /* Flag letters of attributes shared between the lib commands.
  * NOTE: uppercase letters only, the rest is reserved for applications. */
 static const char cmd_lib_attr_letters[32] = {
 	/* [OSMO_LIBNAME_LIB_ATTR_ATTRNAME] =		'X', */
+	[OSMO_SCCP_LIB_ATTR_RSTRT_ASP] =		'A'
 };
 
 /*

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/20460
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4439a414af05700cb1ccff7e7e5927ffc194d171
Gerrit-Change-Number: 20460
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201005/0c3098f0/attachment.htm>


More information about the gerrit-log mailing list