FreeCalypso > hg > e1-fake-trau
annotate ft16/globals.h @ 6:3ab5e2e17da2 default tip
add README
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Aug 2024 14:56:30 +0000 |
parents | adcdbb2e30fe |
children |
rev | line source |
---|---|
4
adcdbb2e30fe
faketrau-16k: update code comments to new name
Mychaela Falconia <falcon@freecalypso.org>
parents:
2
diff
changeset
|
1 /* global vars and intermodule-linkage functions in faketrau-16k */ |
2
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 #pragma once |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 extern void *g_ctx; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 extern struct osmo_e1dp_client *g_client; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 extern int ts_fd; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 extern struct osmo_i460_timeslot i460_ts; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 extern uint8_t readbuf[160]; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 extern FILE *record_file; |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 int ts_fd_cb(struct osmo_fd *ofd, unsigned int what); |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 void transmit_e1_ts(void); |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 void handle_user_cmd(int argc, char **argv); |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 void cmd_record_start(int argc, char **argv); |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 void cmd_record_stop(int argc, char **argv); |
5c18cd38c8ad
ft16: import from ice1-trau-tester/abis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 void cmd_print_rx(int argc, char **argv); |