spandsp 3.0.0
ssl_fax.h File Reference

Go to the source code of this file.

Typedefs

typedef struct sslfax_state_s sslfax_state_t
 

Functions

sslfax_state_t * sslfax_init (sslfax_state_t *s)
 
bool sslfax_start_client (sslfax_state_t *s)
 
void sslfax_cleanup (sslfax_state_t *s, bool sustain)
 
int sslfax_tx (sslfax_state_t *s, int16_t amp[], int len)
 
int sslfax_rx (sslfax_state_t *s, const int16_t amp[], int len)
 
void sslfax_setup (sslfax_state_t *s, span_put_msg_func_t put_msg, span_get_msg_func_t get_msg, hdlc_frame_handler_t hdlc_accept, hdlc_underflow_handler_t hdlc_tx_underflow, bool tx_use_hdlc, bool rx_use_hdlc, span_get_byte_func_t get_phase, void *user_data)
 
int sslfax_write (sslfax_state_t *s, const uint8_t *buf, unsigned int count, int modem_fd, long int ms, bool filter, bool sustain)
 
int sslfax_read (sslfax_state_t *s, void *buf, size_t count, int modem_fd, long ms, bool sustain, bool carryon)