FreeCalypso > hg > freecalypso-tools
diff rvinterf/asyncshell/pktsort.c @ 943:31a36b400cdf
fc-shell: replace libg23 with libprint
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 24 May 2023 07:11:18 +0000 |
parents | bbc41034f14c |
children |
line wrap: on
line diff
--- a/rvinterf/asyncshell/pktsort.c Wed May 24 06:55:54 2023 +0000 +++ b/rvinterf/asyncshell/pktsort.c Wed May 24 07:11:18 2023 +0000 @@ -17,6 +17,8 @@ extern int rvi_msg_len; extern int oneshot_mode; +extern void async_msg_output(); + static void process_rvt() { @@ -42,12 +44,15 @@ } static void +discard_cont_out() +{ +} + +static void gpf_packet_rx() { - char fmtbuf[MAX_PKT_FROM_TARGET*8]; /* size it generously */ - - format_g23_packet(rvi_msg + 1, rvi_msg_len - 1, fmtbuf); - async_msg_output(fmtbuf); + format_gpf_packet(rvi_msg + 1, rvi_msg_len - 1, "", async_msg_output, + discard_cont_out); } static void