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

async.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/async.h"
#include "spandsp/private/async.h"

Functions

 SPAN_DECLARE (const char *)
 Get the short text name of an encoding format.
 SPAN_DECLARE (async_rx_state_t *)
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE_NONSTD (void)
 Process a received HDLC frame.
 SPAN_DECLARE (async_tx_state_t *)
 SPAN_DECLARE_NONSTD (int)
 Get the next bit of data from a T.38 rate adapting non-ECM buffer context.

Detailed Description


Function Documentation

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Parameters:
s The ADSI receive context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples unprocessed.

SPAN_DECLARE const char *   ) 
 

Get the short text name of an encoding format.

Get the transmitted identifier associated with a T.30 context.

Parameters:
s The T.30 context.
id A pointer to the identifier.
Returns:
0 for OK, else -1.

SPAN_DECLARE_NONSTD int   ) 
 

Get the next bit of data from a T.38 rate adapting non-ECM buffer context.

Get the next bit of a transmitted serial bit stream.

Parameters:
user_data An opaque point which must point to a transmitter context.
Returns:
the next bit, or PUTBIT_END_OF_DATA to indicate the data stream has ended.

SPAN_DECLARE_NONSTD void   ) 
 

Process a received HDLC frame.

Process a received HDLC frame.

Parameters:
user_data The T.30 context.
msg The HDLC message.
len The length of the message, in octets.
ok TRUE if the frame was received without error.


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