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

v42bis.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/bit_operations.h"
#include "spandsp/v42bis.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/v42bis.h"

Defines

#define V42BIS_N3   8
#define V42BIS_N4   256
#define V42BIS_N5   (V42BIS_N4 + V42BIS_N6)
#define V42BIS_N6   3

Enumerations

enum  { V42BIS_ETM = 0, V42BIS_FLUSH = 1, V42BIS_STEPUP = 2 }
enum  { V42BIS_ECM = 0, V42BIS_EID = 1, V42BIS_RESET = 2 }

Functions

 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (v42bis_state_t *)

Detailed Description


Function Documentation

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Log the list of supported modulations.

Parameters:
s The V.8 context.
modulation_schemes The list of supported modulations.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Compress a block of octets.

Parameters:
s The V.42bis context.
buf The data to be compressed.
len The length of the data buffer.
Returns:
0


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