aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-09-28 12:42:27 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-09-28 12:44:33 +0700
commit4a96b7c7b9d9987afa7493f0b9b48ada8ae058ef (patch)
tree5adc1e6491c5dd4180887d23d62a10f16654a21a /include/osmocom/vty
parent470cc124471547785d4f12b8ae3d565c5976da67 (diff)
vty/command: introduce new attribute CMD_ATTR_IMMEDIATE
This attribute indicates that a VTY command applies immediately. Change-Id: Ia185dfd0c89214dc893af70736ff01dca3a7627e Related: SYS#4937
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index 47d2e5f3..43ad3da8 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -137,6 +137,7 @@ struct cmd_node {
enum {
CMD_ATTR_DEPRECATED = (1 << 0),
CMD_ATTR_HIDDEN = (1 << 1),
+ CMD_ATTR_IMMEDIATE = (1 << 2),
};
/*! Structure of a command element */