34#if !defined(_SPANDSP_V42BIS_H_) 
   35#define _SPANDSP_V42BIS_H_ 
   37#define V42BIS_MIN_STRING_SIZE      6 
   38#define V42BIS_MAX_STRING_SIZE      250 
   39#define V42BIS_MIN_DICTIONARY_SIZE  512 
   40#define V42BIS_MAX_BITS             12 
   41#define V42BIS_MAX_CODEWORDS        4096     
   42#define V42BIS_MAX_OUTPUT_LENGTH    1024 
   46    V42BIS_P0_NEITHER_DIRECTION = 0,
 
   47    V42BIS_P0_INITIATOR_RESPONDER,
 
   48    V42BIS_P0_RESPONDER_INITIATOR,
 
   49    V42BIS_P0_BOTH_DIRECTIONS
 
   54    V42BIS_COMPRESSION_MODE_DYNAMIC = 0,
 
   55    V42BIS_COMPRESSION_MODE_ALWAYS,
 
   56    V42BIS_COMPRESSION_MODE_NEVER
 
   65#if defined(__cplusplus) 
   75SPAN_DECLARE(
int) v42bis_compress(
v42bis_state_t *s, 
const uint8_t buf[], 
int len);
 
   87SPAN_DECLARE(
int) v42bis_decompress(
v42bis_state_t *s, 
const uint8_t buf[], 
int len);
 
  100SPAN_DECLARE(
void) v42bis_compression_control(
v42bis_state_t *s, 
int mode);
 
  119                                           void *encode_user_data,
 
  122                                           void *decode_user_data,
 
  135#if defined(__cplusplus) 
void(* put_msg_func_t)(void *user_data, const uint8_t *msg, int len)
Definition async.h:93
Definition private/v42bis.h:116