view ater/globals.h @ 51:db39e8855f3d

ater: implement play-d144
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 05:53:38 +0000
parents 6ba4de500532
children
line wrap: on
line source

/* global vars and intermodule-linkage functions in itt-ater-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);
void cmd_activate(int argc, char **argv);
void cmd_activate_csd(int argc, char **argv);
void cmd_deact(int argc, char **argv);
void cmd_play_file(int argc, char **argv);
void cmd_play_d144(int argc, char **argv);
void cmd_play_stop(int argc, char **argv);
void cmd_set_dbits(int argc, char **argv);
void cmd_set_edata(int argc, char **argv);