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/.
fixeria gerrit-no-reply at lists.osmocom.orgHello Hoernchen,
I'd like you to do a code review. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/19576
to review the following change.
Change subject: vty/command: introduce CMD_ATTR_REQ_RESTART attribute
......................................................................
vty/command: introduce CMD_ATTR_REQ_RESTART attribute
Change-Id: Ie4ae73936ef08755f7bf0d1095d4d649adf498ae
Related: SYS#4937
---
M include/osmocom/vty/command.h
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/76/19576/1
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index da8d202..a277ca5 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -137,6 +137,7 @@
enum {
CMD_ATTR_DEPRECATED = (1 << 0),
CMD_ATTR_HIDDEN = (1 << 1),
+ CMD_ATTR_REQ_RESTART = (1 << 2),
};
/*! Structure of a command element */
@@ -240,6 +241,9 @@
#define DEFUN_DEPRECATED(funcname, cmdname, cmdstr, helpstr) \
DEFUN_ATTR (funcname, cmdname, cmdstr, helpstr, CMD_ATTR_DEPRECATED)
+#define DEFUN_REQ_RESTART(funcname, cmdname, cmdstr, helpstr) \
+ DEFUN_ATTR (funcname, cmdname, cmdstr, helpstr, CMD_ATTR_REQ_RESTART)
+
/* DEFUN_NOSH for commands that vtysh should ignore */
#define DEFUN_NOSH(funcname, cmdname, cmdstr, helpstr) \
DEFUN(funcname, cmdname, cmdstr, helpstr)
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19576
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie4ae73936ef08755f7bf0d1095d4d649adf498ae
Gerrit-Change-Number: 19576
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200812/4cb39e88/attachment.htm>