FreeCalypso > hg > freecalypso-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
942:fab04df64690 | 943:31a36b400cdf |
---|---|
14 #include "exitcodes.h" | 14 #include "exitcodes.h" |
15 | 15 |
16 extern u_char rvi_msg[]; | 16 extern u_char rvi_msg[]; |
17 extern int rvi_msg_len; | 17 extern int rvi_msg_len; |
18 extern int oneshot_mode; | 18 extern int oneshot_mode; |
19 | |
20 extern void async_msg_output(); | |
19 | 21 |
20 static void | 22 static void |
21 process_rvt() | 23 process_rvt() |
22 { | 24 { |
23 u32 useid; | 25 u32 useid; |
40 exit(ERROR_RVINTERF); | 42 exit(ERROR_RVINTERF); |
41 } | 43 } |
42 } | 44 } |
43 | 45 |
44 static void | 46 static void |
47 discard_cont_out() | |
48 { | |
49 } | |
50 | |
51 static void | |
45 gpf_packet_rx() | 52 gpf_packet_rx() |
46 { | 53 { |
47 char fmtbuf[MAX_PKT_FROM_TARGET*8]; /* size it generously */ | 54 format_gpf_packet(rvi_msg + 1, rvi_msg_len - 1, "", async_msg_output, |
48 | 55 discard_cont_out); |
49 format_g23_packet(rvi_msg + 1, rvi_msg_len - 1, fmtbuf); | |
50 async_msg_output(fmtbuf); | |
51 } | 56 } |
52 | 57 |
53 static void | 58 static void |
54 response_from_ati() | 59 response_from_ati() |
55 { | 60 { |