diff pcm/globals.h @ 6:631f2db08538

pcm: implement print-rx and record commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 18:53:01 +0000
parents 7233c10af3ad
children ca351324187a
line wrap: on
line diff
--- a/pcm/globals.h	Sun Jun 23 18:33:09 2024 +0000
+++ b/pcm/globals.h	Sun Jun 23 18:53:01 2024 +0000
@@ -5,6 +5,10 @@
 extern struct osmo_e1dp_client *g_client;
 extern int ts_fd;
 extern uint8_t readbuf[160];
+extern FILE *record_file;
 
 int ts_fd_cb(struct osmo_fd *ofd, unsigned int what);
 void handle_user_cmd(int argc, char **argv);
+void cmd_record_start(int argc, char **argv);
+void cmd_record_stop(int argc, char **argv);
+void cmd_print_rx(int argc, char **argv);