aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-07 11:49:55 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-07 12:21:11 +0000
commit341939142242fb3a8e3e6e153a582af5aff16889 (patch)
treeb782588710e89c90633bda465665a955a49ffda2 /include/osmocom/vty
parent8808bb49a20e3e569b230b1b8acdf6f74e1c6bd2 (diff)
fsm: Add VTY introspection of osmo_fsm and their instances
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/misc.h8
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);