zdeflate.h File Reference

(r1785/r751)

#include "zutil.h"

Go to the source code of this file.

Classes

struct  ct_data_s
struct  tree_desc_s
class  DeflateState
 A deflate state object for the deflater for the file compressor and decompressor. More...
class  ZipDeflate
 The deflater for the file compressor and decompressor. Allows the CCDiskFile to offer compression of files. At present just used to compress the native file format. More...

Defines

#define LENGTH_CODES   29
#define LITERALS   256
#define L_CODES   (LITERALS+1+LENGTH_CODES)
#define D_CODES   30
#define BL_CODES   19
#define HEAP_SIZE   (2*L_CODES+1)
#define MAX_BITS   15
#define INIT_STATE   42
#define BUSY_STATE   113
#define FINISH_STATE   666
#define put_byte(s, c)   {s->pending_buf[s->pending++] = (c);}
#define MIN_LOOKAHEAD   (MAX_MATCH+MIN_MATCH+1)
#define MAX_DIST(s)   ((s)->w_size-MIN_LOOKAHEAD)
#define max_insert_length   max_lazy_match
#define put_byte(s, c)   {s->pending_buf[s->pending++] = (c);}
#define MIN_LOOKAHEAD   (MAX_MATCH+MIN_MATCH+1)
#define MAX_DIST(s)   ((s)->w_size-MIN_LOOKAHEAD)

Typedefs

typedef ct_data_s ct_data
typedef static_tree_desc_s static_tree_desc
typedef tree_desc_s tree_desc
typedef ush Pos
typedef Pos FAR Posf
typedef unsigned IPos


Define Documentation

#define BL_CODES   19
 

Definition at line 124 of file zdeflate.h.

#define BUSY_STATE   113
 

Definition at line 134 of file zdeflate.h.

#define D_CODES   30
 

Definition at line 121 of file zdeflate.h.

#define FINISH_STATE   666
 

Definition at line 135 of file zdeflate.h.

#define HEAP_SIZE   (2*L_CODES+1)
 

Definition at line 127 of file zdeflate.h.

#define INIT_STATE   42
 

Definition at line 133 of file zdeflate.h.

#define L_CODES   (LITERALS+1+LENGTH_CODES)
 

Definition at line 118 of file zdeflate.h.

#define LENGTH_CODES   29
 

Definition at line 112 of file zdeflate.h.

#define LITERALS   256
 

Definition at line 115 of file zdeflate.h.

#define MAX_BITS   15
 

Definition at line 130 of file zdeflate.h.

#define MAX_DIST  )     ((s)->w_size-MIN_LOOKAHEAD)
 

Definition at line 391 of file zdeflate.h.

#define MAX_DIST  )     ((s)->w_size-MIN_LOOKAHEAD)
 

Definition at line 391 of file zdeflate.h.

#define max_insert_length   max_lazy_match
 

Definition at line 288 of file zdeflate.h.

#define MIN_LOOKAHEAD   (MAX_MATCH+MIN_MATCH+1)
 

Definition at line 386 of file zdeflate.h.

#define MIN_LOOKAHEAD   (MAX_MATCH+MIN_MATCH+1)
 

Definition at line 386 of file zdeflate.h.

#define put_byte s,
 )     {s->pending_buf[s->pending++] = (c);}
 

Definition at line 383 of file zdeflate.h.

#define put_byte s,
 )     {s->pending_buf[s->pending++] = (c);}
 

Definition at line 383 of file zdeflate.h.


Typedef Documentation

typedef struct ct_data_s ct_data
 

typedef unsigned IPos
 

Definition at line 161 of file zdeflate.h.

typedef ush Pos
 

Definition at line 159 of file zdeflate.h.

typedef Pos FAR Posf
 

Definition at line 160 of file zdeflate.h.

typedef struct static_tree_desc_s static_tree_desc
 

Definition at line 151 of file zdeflate.h.

typedef struct tree_desc_s tree_desc
 


Generated on Sat Nov 10 03:49:24 2007 for Camelot by  doxygen 1.4.4