28 #if !defined(_SPANDSP_FAX_MODEMS_H_) 29 #define _SPANDSP_FAX_MODEMS_H_ 55 #if defined(__cplusplus) 67 SPAN_DECLARE_NONSTD(
int) fax_modems_v17_v21_rx(
void *user_data,
const int16_t amp[],
int len);
68 SPAN_DECLARE_NONSTD(
int) fax_modems_v27ter_v21_rx(
void *user_data,
const int16_t amp[],
int len);
69 SPAN_DECLARE_NONSTD(
int) fax_modems_v29_v21_rx(
void *user_data,
const int16_t amp[],
int len);
74 SPAN_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) int use_tep
Definition: private/fax_modems.h:37
const char * fax_modem_to_str(int modem)
Convert a FAX modem type to a short text description.
Definition: fax_modems.c:89
SPAN_DECLARE_NONSTD(int) fax_modems_v17_v21_rx(void *user_data
Get the next bit of a transmitted serial bit stream.
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
void(* put_bit_func_t)(void *user_data, int bit)
Definition: async.h:105
int(* get_bit_func_t)(void *user_data)
Definition: async.h:108
Definition: private/fax_modems.h:34
Definition: private/logging.h:33