From 341939142242fb3a8e3e6e153a582af5aff16889 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 7 Jan 2017 11:49:55 +0100 Subject: fsm: Add VTY introspection of osmo_fsm and their instances Change-Id: I89212e4f149f019099115a85bab353c04170df90 --- include/osmocom/vty/misc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/osmocom') 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); -- cgit v1.2.3