Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

t38_terminal.h File Reference

Go to the source code of this file.

Defines

#define _SPANDSP_T38_TERMINAL_H_
#define T38_MAX_HDLC_LEN   260

Typedefs

typedef t38_terminal_state_s t38_terminal_state_t

Functions

 SPAN_DECLARE (int) t38_terminal_send_timeout(t38_terminal_state_t *s
 Release a V.8 context.
 SPAN_DECLARE (void) t38_terminal_set_config(t38_terminal_state_t *s
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (t30_state_t *) t38_terminal_get_t30_state(t38_terminal_state_t *s)
 Get a pointer to the T.30 engine associated with a T.38 context.
 SPAN_DECLARE (t38_core_state_t *) t38_terminal_get_t38_core_state(t38_terminal_state_t *s)
 Get a pointer to the T.38 core IFP packet engine associated with a T.38 context.
 SPAN_DECLARE (logging_state_t *) t38_terminal_get_logging_state(t38_terminal_state_t *s)
 Get a pointer to the logging context associated with a T.38 context.
 SPAN_DECLARE (t38_terminal_state_t *) t38_terminal_init(t38_terminal_state_t *s
 Initialise a termination mode T.38 context.

Variables

int samples
int without_pacing
int use_tep
int remove
int calling_party
int t38_tx_packet_handler_t * tx_packet_handler
int t38_tx_packet_handler_t
void * 
tx_packet_user_data


Detailed Description


Function Documentation

SPAN_DECLARE t38_terminal_state_t  ) 
 

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.

SPAN_DECLARE logging_state_t  ) 
 

Get a pointer to the logging context associated with a T.38 context.

Get a pointer to the logging context associated with a FAX context.

Parameters:
s The FAX context.
Returns:
A pointer to the logging context, or NULL.

SPAN_DECLARE t38_core_state_t  ) 
 

Get a pointer to the T.38 core IFP packet engine associated with a T.38 context.

Get a pointer to the T.38 core IFP packet engine associated with a gateway mode T.38 context.

Parameters:
s The T.38 context.
Returns:
A pointer to the T.38 core context, or NULL.

SPAN_DECLARE t30_state_t  ) 
 

Get a pointer to the T.30 engine associated with a T.38 context.

Initialise a T.30 context.

Parameters:
s The T.30 context.
calling_party TRUE if the context is for a calling party. FALSE if the context is for an answering party.
set_rx_type_handler 
set_rx_type_user_data 
set_tx_type_handler 
set_tx_type_user_data 
send_hdlc_handler 
send_hdlc_user_data 
Returns:
A pointer to the context, or NULL if there was a problem.

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Select whether the time for talker echo protection tone will be allowed for when sending.

Parameters:
s The T.38 context.
use_tep TRUE if TEP should be allowed for.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Release a termination mode T.38 context.

Parameters:
s The T.38 context.
Returns:
0 for OK, else -1.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1