diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-01-07 11:49:55 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-07 12:21:11 +0000 |
commit | 341939142242fb3a8e3e6e153a582af5aff16889 (patch) | |
tree | b782588710e89c90633bda465665a955a49ffda2 /include | |
parent | 8808bb49a20e3e569b230b1b8acdf6f74e1c6bd2 (diff) |
fsm: Add VTY introspection of osmo_fsm and their instances
Change-Id: I89212e4f149f019099115a85bab353c04170df90
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/vty/misc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h index 97ad4a52..b3fb644d 100644 --- a/include/osmocom/vty/misc.h +++ b/include/osmocom/vty/misc.h @@ -20,5 +20,13 @@ void vty_out_statistics_full(struct vty *vty, const char *prefix); void vty_out_statistics_partial(struct vty *vty, const char *prefix, int max_level); + +struct osmo_fsm; +struct osmo_fsm_inst; +void vty_out_fsm(struct vty *vty, struct osmo_fsm *fsm); +void vty_out_fsm_inst(struct vty *vty, struct osmo_fsm_inst *fsmi); +void osmo_fsm_vty_add_cmds(void); + + int osmo_vty_write_config_file(const char *filename); int osmo_vty_save_config_file(void); |