28#if !defined(_SPANDSP_FAX_MODEMS_H_)
29#define _SPANDSP_FAX_MODEMS_H_
55#if defined(__cplusplus)
68SPAN_DECLARE_NONSTD(
int) fax_modems_v27ter_v21_rx(
void *user_data,
const int16_t amp[],
int len);
69SPAN_DECLARE_NONSTD(
int) fax_modems_v29_v21_rx(
void *user_data,
const int16_t amp[],
int len);
74SPAN_DECLARE_NONSTD(
void) fax_modems_hdlc_tx_frame(
void *user_data,
const uint8_t *msg,
int len);
91 hdlc_frame_handler_t hdlc_accept,
92 hdlc_underflow_handler_t hdlc_tx_underflow,
95 tone_report_func_t tone_callback,
102#if defined(__cplusplus)
void(* put_bit_func_t)(void *user_data, int bit)
Definition async.h:105
SPAN_DECLARE_NONSTD(void) async_rx_put_bit(void *user_data
Accept a bit from a received serial bit stream.
int(* get_bit_func_t)(void *user_data)
Definition async.h:108
logging_state_t * fax_modems_get_logging_state(fax_modems_state_t *s)
Get a pointer to the logging context associated with a FAX modems context.
Definition fax_modems.c:323
const char * fax_modem_to_str(int modem)
Convert a FAX modem type to a short text description.
Definition fax_modems.c:89
struct fax_modems_state_s fax_modems_state_t
Definition fax_modems.h:53
struct logging_state_s logging_state_t
Definition logging.h:75
Definition private/fax_modems.h:35