t38_terminal.h File Reference

Go to the source code of this file.

Classes

struct  t38_terminal_state_t

Defines

#define _SPANDSP_T38_TERMINAL_H_
#define T38_MAX_HDLC_LEN   260

Functions

int t38_terminal_send_timeout (t38_terminal_state_t *s, int samples)
void t38_terminal_set_config (t38_terminal_state_t *s, int without_pacing)
t38_terminal_state_t * t38_terminal_init (t38_terminal_state_t *s, int calling_party, t38_tx_packet_handler_t *tx_packet_handler, void *tx_packet_user_data)
 Initialise a termination mode T.38 context.


Detailed Description


Function Documentation

t38_terminal_state_t* t38_terminal_init ( t38_terminal_state_t *  s,
int  calling_party,
t38_tx_packet_handler_t *  tx_packet_handler,
void *  tx_packet_user_data 
)

Initialise a termination mode T.38 context.

Parameters:
s The T.38 context.
calling_party TRUE if the context is for a calling party. FALSE if the context is for an answering party.
tx_packet_handler A callback routine to encapsulate and transmit T.38 packets.
tx_packet_user_data An opaque pointer passed to the tx_packet_handler routine.
Returns:
A pointer to the termination mode T.38 context, or NULL if there was a problem.


Generated on Tue Jul 24 11:29:29 2007 for libspandsp by  doxygen 1.5.2