diff options
author | Harald Welte <laforge@osmocom.org> | 2021-01-19 20:55:00 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-01-20 14:59:03 +0000 |
commit | cec4bbed73829d0eafcc34b2d8a8cac265b0d6bd (patch) | |
tree | 616e91adfdf8c0f8d102b9ccbd3687ae468f8cac /include/osmocom/vty | |
parent | 273f063f9499448eb0ef949a60ded16a88cf8b69 (diff) |
vty/fsm_vty: Add vty_out_fsm2() + vty_out_fsm_inst2() with prefix
Callers other than "show fsm" / "show fsm-instances" may want to
indent the output.
Change-Id: I10e01ef91116369868cdb878a99634c8681728af
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r-- | include/osmocom/vty/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h index 2ad96508..ea31c5b0 100644 --- a/include/osmocom/vty/misc.h +++ b/include/osmocom/vty/misc.h @@ -28,7 +28,9 @@ void vty_out_statistics_partial(struct vty *vty, const char *prefix, struct osmo_fsm; struct osmo_fsm_inst; void vty_out_fsm(struct vty *vty, struct osmo_fsm *fsm); +void vty_out_fsm2(struct vty *vty, const char *prefix, struct osmo_fsm *fsm); void vty_out_fsm_inst(struct vty *vty, struct osmo_fsm_inst *fsmi); +void vty_out_fsm_inst2(struct vty *vty, const char *prefix, struct osmo_fsm_inst *fsmi); void osmo_fsm_vty_add_cmds(void); void osmo_talloc_vty_add_cmds(void); |