diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-31 18:48:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-21 15:49:06 +0200 |
commit | 013df51ca8693d39ee01252f71d1e61f7cff84b4 (patch) | |
tree | 140a7db0842dcb8ddbb5dbf398df1e1b118e2ce3 /src/osmo-bts-sysmo/misc/sysmobts_mgr.h | |
parent | 07198750b29fa891dd6c1d6266964691aa9e9095 (diff) |
sysmobts: Add VTY support to the sysmobts-mgr
Add VTY support to the manager. This way we can interactively
inspect the state of the system and trigger events.
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_mgr.h')
-rw-r--r-- | src/osmo-bts-sysmo/misc/sysmobts_mgr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h index ddb6774a..aaa43736 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.h +++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.h @@ -1,10 +1,23 @@ #ifndef _SYSMOBTS_MGR_H #define _SYSMOBTS_MGR_H +#include <osmocom/vty/vty.h> +#include <osmocom/vty/command.h> + enum { DTEMP, DFW, DFIND, }; +enum mgr_vty_node { + MGR_NODE = _LAST_OSMOVTY_NODE + 1, +}; + +int sysmobts_mgr_vty_init(void); +int sysmobts_mgr_parse_config(const char *config_file); + +struct sysmobts_mgr_instance { + const char *config_file; +}; #endif |