From cec4bbed73829d0eafcc34b2d8a8cac265b0d6bd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Jan 2021 20:55:00 +0100 Subject: 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 --- include/osmocom/vty/misc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom') 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); -- cgit v1.2.3