Back to index

python3.2  3.2.2
Classes | Defines | Enumerations
inflate.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  inflate_state

Defines

#define GUNZIP

Enumerations

enum  inflate_mode {
  HEAD, FLAGS, TIME, OS,
  EXLEN, EXTRA, NAME, COMMENT,
  HCRC, DICTID, DICT, TYPE,
  TYPEDO, STORED, COPY_, COPY,
  TABLE, LENLENS, CODELENS, LEN_,
  LEN, LENEXT, DIST, DISTEXT,
  MATCH, LIT, CHECK, LENGTH,
  DONE, BAD, MEM, SYNC
}

Class Documentation

struct inflate_state

Definition at line 81 of file inflate.h.

Collaboration diagram for inflate_state:
Class Members
int back
unsigned bits
unsigned long check
code codes
unsigned distbits
code const FAR * distcode
unsigned dmax
unsigned extra
int flags
unsigned have
int havedict
gz_headerp head
unsigned long hold
int last
unsigned lenbits
code const FAR * lencode
unsigned length
unsigned short lens
inflate_mode mode
unsigned ncode
unsigned ndist
code FAR * next
unsigned nlen
unsigned offset
int sane
unsigned long total
unsigned was
unsigned wbits
unsigned whave
unsigned char FAR * window
unsigned wnext
unsigned short work
int wrap
unsigned wsize

Define Documentation

#define GUNZIP

Definition at line 16 of file inflate.h.


Enumeration Type Documentation

Enumerator:
HEAD 
FLAGS 
TIME 
OS 
EXLEN 
EXTRA 
NAME 
COMMENT 
HCRC 
DICTID 
DICT 
TYPE 
TYPEDO 
STORED 
COPY_ 
COPY 
TABLE 
LENLENS 
CODELENS 
LEN_ 
LEN 
LENEXT 
DIST 
DISTEXT 
MATCH 
LIT 
CHECK 
LENGTH 
DONE 
BAD 
MEM 
SYNC 

Definition at line 20 of file inflate.h.

             {
    HEAD,       /* i: waiting for magic header */
    FLAGS,      /* i: waiting for method and flags (gzip) */
    TIME,       /* i: waiting for modification time (gzip) */
    OS,         /* i: waiting for extra flags and operating system (gzip) */
    EXLEN,      /* i: waiting for extra length (gzip) */
    EXTRA,      /* i: waiting for extra bytes (gzip) */
    NAME,       /* i: waiting for end of file name (gzip) */
    COMMENT,    /* i: waiting for end of comment (gzip) */
    HCRC,       /* i: waiting for header crc (gzip) */
    DICTID,     /* i: waiting for dictionary check value */
    DICT,       /* waiting for inflateSetDictionary() call */
        TYPE,       /* i: waiting for type bits, including last-flag bit */
        TYPEDO,     /* i: same, but skip check to exit inflate on new block */
        STORED,     /* i: waiting for stored size (length and complement) */
        COPY_,      /* i/o: same as COPY below, but only first time in */
        COPY,       /* i/o: waiting for input or output to copy stored block */
        TABLE,      /* i: waiting for dynamic block table lengths */
        LENLENS,    /* i: waiting for code length code lengths */
        CODELENS,   /* i: waiting for length/lit and distance code lengths */
            LEN_,       /* i: same as LEN below, but only first time in */
            LEN,        /* i: waiting for length/lit/eob code */
            LENEXT,     /* i: waiting for length extra bits */
            DIST,       /* i: waiting for distance code */
            DISTEXT,    /* i: waiting for distance extra bits */
            MATCH,      /* o: waiting for output space to copy string */
            LIT,        /* o: waiting for output space to write literal */
    CHECK,      /* i: waiting for 32-bit check value */
    LENGTH,     /* i: waiting for 32-bit length (gzip) */
    DONE,       /* finished check, done -- remain here until reset */
    BAD,        /* got a data error -- remain here until reset */
    MEM,        /* got an inflate() memory error -- remain here until reset */
    SYNC        /* looking for synchronization bytes to restart inflate() */
} inflate_mode;