diff options
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r-- | include/osmocom/vty/command.h | 4 | ||||
-rw-r--r-- | include/osmocom/vty/vty.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h index 2cb45dd3..92701fcb 100644 --- a/include/osmocom/vty/command.h +++ b/include/osmocom/vty/command.h @@ -24,6 +24,7 @@ #pragma once #include <stdio.h> +#include <stdbool.h> #include <sys/types.h> #include "vector.h" @@ -65,6 +66,9 @@ struct host { /*! VTY application information */ const struct vty_app_info *app_info; + + /*! Whether the expert mode is enabled. */ + bool expert_mode; }; /*! There are some command levels which called from command node. */ diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h index 4e83b1bb..6a82d7e3 100644 --- a/include/osmocom/vty/vty.h +++ b/include/osmocom/vty/vty.h @@ -32,7 +32,7 @@ #define VTY_CMD_USR_ATTR_NUM 32 /* Flag characters reserved for global VTY attributes */ #define VTY_CMD_ATTR_FLAGS_RESERVED \ - { '.', '!', '@' } + { '.', '!', '@', '^' } /*! VTY events */ enum event { |