FreeCalypso > hg > e1-fake-trau
diff ft16/globals.h @ 2:5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Aug 2024 13:07:16 +0000 |
parents | |
children | adcdbb2e30fe |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ft16/globals.h Thu Aug 29 13:07:16 2024 +0000 @@ -0,0 +1,18 @@ +/* global vars and intermodule-linkage functions in itt-abis-16 */ + +#pragma once + +extern void *g_ctx; +extern struct osmo_e1dp_client *g_client; +extern int ts_fd; +extern struct osmo_i460_timeslot i460_ts; +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);