FreeCalypso > hg > ice1-trau-tester
diff ater/globals.h @ 15:98ae717734d6
ater: starting skeleton
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Jun 2024 04:01:38 +0000 |
parents | pcm/globals.h@27ca01bb5b11 |
children | 4ffe22f5b4b5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ater/globals.h Mon Jun 24 04:01:38 2024 +0000 @@ -0,0 +1,16 @@ +/* global vars and intermodule-linkage functions in itt-ater-16 */ + +#pragma once + +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 transmit_e1_ts(void); + +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);