aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-07 13:44:31 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-07 14:17:02 +0700
commitef4c597b4aea28611e1c7fa74464a1b189c45f35 (patch)
tree6e8c1baec862a19889104fd0f98844a98a3c051c /include/osmocom/vty
parent7e1a78fb03fb32ff7e9ea3da0ae1e944a93fffee (diff)
vty/command: restrict the use of '.', '!', and '@' as flags
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/vty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h
index 9cadb7ac..4e83b1bb 100644
--- a/include/osmocom/vty/vty.h
+++ b/include/osmocom/vty/vty.h
@@ -30,6 +30,9 @@
/* Number of application / library specific VTY attributes */
#define VTY_CMD_USR_ATTR_NUM 32
+/* Flag characters reserved for global VTY attributes */
+#define VTY_CMD_ATTR_FLAGS_RESERVED \
+ { '.', '!', '@' }
/*! VTY events */
enum event {