zinflate.h File Reference

(r1785/r751)

#include "zutil.h"

Go to the source code of this file.

Classes

struct  inflate_huft_s
class  inflate_codes_state
 An inflate codes state object for use by the inflater for the file compressor and decompressor. More...
class  inflate_blocks_state
 An inflate blocks state object for use by the inflater for the file compressor and decompressor. More...
class  InflateState
 An inflate state object for use by the inflater for the file compressor and decompressor. More...
class  ZipInflate
 The inflater 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...

Typedefs

typedef char Char
typedef inflate_huft_s FAR inflate_huft

Enumerations

enum  InflateCodesMode {
  START, LEN, LENEXT, DIST,
  DISTEXT, COPY, LIT, WASH,
  END, BADCODE
}
enum  InflateBlockMode {
  TYPE, LENS, STORED, TABLE,
  BTREE, DTREE, CODES, DRY,
  BLOCKDONE, BLOCKBAD
}
enum  InflateMode {
  METHOD, FLAG, DICT4, DICT3,
  DICT2, DICT1, DICT0, BLOCKS,
  CHECK4, CHECK3, CHECK2, CHECK1,
  DONE, BAD
}

Variables

uInt inflate_mask []


Typedef Documentation

typedef char Char
 

Definition at line 106 of file zinflate.h.

typedef struct inflate_huft_s FAR inflate_huft
 

Definition at line 129 of file zinflate.h.


Enumeration Type Documentation

enum InflateBlockMode
 

Enumerator:
TYPE 
LENS 
STORED 
TABLE 
BTREE 
DTREE 
CODES 
DRY 
BLOCKDONE 
BLOCKBAD 

Definition at line 237 of file zinflate.h.

00238         {
00239             TYPE,     /* get type bits (3, including end bit) */
00240             LENS,     /* get lengths for stored */
00241             STORED,   /* processing stored block */
00242             TABLE,    /* get table lengths */
00243             BTREE,    /* get bit lengths tree for a dynamic block */
00244             DTREE,    /* get length, distance trees for a dynamic block */
00245             CODES,    /* processing fixed or dynamic block */
00246             DRY,      /* output remaining window bytes */
00247             BLOCKDONE,/* finished last block, done */
00248             BLOCKBAD  /* got a data error--stuck here */
00249         };

enum InflateCodesMode
 

Enumerator:
START 
LEN 
LENEXT 
DIST 
DISTEXT 
COPY 
LIT 
WASH 
END 
BADCODE 

Definition at line 162 of file zinflate.h.

00163     {   /* waiting for "i:"=input, "o:"=output, "x:"=nothing */
00164         START,    /* x: set up for LEN */
00165         LEN,      /* i: get length/literal/eob next */
00166         LENEXT,   /* i: getting length extra (have base) */
00167         DIST,     /* i: get distance next */
00168         DISTEXT,  /* i: getting distance extra */
00169         COPY,     /* o: copying bytes in window, waiting for space */
00170         LIT,      /* o: got literal, waiting for output space */
00171         WASH,     /* o: got eob, possibly still output waiting */
00172         END,      /* x: got eob and all data flushed */
00173         BADCODE   /* x: got error */
00174     };

enum InflateMode
 

Enumerator:
METHOD 
FLAG 
DICT4 
DICT3 
DICT2 
DICT1 
DICT0 
BLOCKS 
CHECK4 
CHECK3 
CHECK2 
CHECK1 
DONE 
BAD 

Definition at line 316 of file zinflate.h.

00317         {
00318             METHOD,   /* waiting for method byte */
00319             FLAG,     /* waiting for flag byte */
00320             DICT4,    /* four dictionary check bytes to go */
00321             DICT3,    /* three dictionary check bytes to go */
00322             DICT2,    /* two dictionary check bytes to go */
00323             DICT1,    /* one dictionary check byte to go */
00324             DICT0,    /* waiting for inflateSetDictionary */
00325             BLOCKS,   /* decompressing blocks */
00326             CHECK4,   /* four check bytes to go */
00327             CHECK3,   /* three check bytes to go */
00328             CHECK2,   /* two check bytes to go */
00329             CHECK1,   /* one check byte to go */
00330             DONE,     /* finished check, done */
00331             BAD       /* got an error--stay here */
00332         };


Variable Documentation

uInt inflate_mask[]
 

Definition at line 125 of file zinflate.cpp.


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