TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
inflate.h File Reference

Go to the source code of this file.

Classes

struct  inflate_state
 

Macros

#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
}
 

Macro Definition Documentation

#define GUNZIP

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 
20  {
21  HEAD, /* i: waiting for magic header */
22  FLAGS, /* i: waiting for method and flags (gzip) */
23  TIME, /* i: waiting for modification time (gzip) */
24  OS, /* i: waiting for extra flags and operating system (gzip) */
25  EXLEN, /* i: waiting for extra length (gzip) */
26  EXTRA, /* i: waiting for extra bytes (gzip) */
27  NAME, /* i: waiting for end of file name (gzip) */
28  COMMENT, /* i: waiting for end of comment (gzip) */
29  HCRC, /* i: waiting for header crc (gzip) */
30  DICTID, /* i: waiting for dictionary check value */
31  DICT, /* waiting for inflateSetDictionary() call */
32  TYPE, /* i: waiting for type bits, including last-flag bit */
33  TYPEDO, /* i: same, but skip check to exit inflate on new block */
34  STORED, /* i: waiting for stored size (length and complement) */
35  COPY_, /* i/o: same as COPY below, but only first time in */
36  COPY, /* i/o: waiting for input or output to copy stored block */
37  TABLE, /* i: waiting for dynamic block table lengths */
38  LENLENS, /* i: waiting for code length code lengths */
39  CODELENS, /* i: waiting for length/lit and distance code lengths */
40  LEN_, /* i: same as LEN below, but only first time in */
41  LEN, /* i: waiting for length/lit/eob code */
42  LENEXT, /* i: waiting for length extra bits */
43  DIST, /* i: waiting for distance code */
44  DISTEXT, /* i: waiting for distance extra bits */
45  MATCH, /* o: waiting for output space to copy string */
46  LIT, /* o: waiting for output space to write literal */
47  CHECK, /* i: waiting for 32-bit check value */
48  LENGTH, /* i: waiting for 32-bit length (gzip) */
49  DONE, /* finished check, done -- remain here until reset */
50  BAD, /* got a data error -- remain here until reset */
51  MEM, /* got an inflate() memory error -- remain here until reset */
52  SYNC /* looking for synchronization bytes to restart inflate() */
53 } inflate_mode;
Definition: inflate.h:28
Definition: inflate.h:36
Definition: inflate.h:34
Definition: inflate.h:44
Definition: inflate.h:49
Definition: inflate.h:27
Definition: inflate.h:32
Definition: inflate.h:30
Definition: inflate.h:24
Definition: inflate.h:41
Definition: inflate.h:38
Definition: inflate.h:37
Definition: inflate.h:48
Definition: inflate.h:52
Definition: inflate.h:26
Definition: inflate.h:47
Definition: inflate.h:42
Definition: inflate.h:46
Definition: inflate.h:23
Definition: inflate.h:31
Definition: inflate.h:29
Definition: inflate.h:21
Definition: inflate.h:45
Definition: inflate.h:33
inflate_mode
Definition: inflate.h:20
Definition: inflate.h:25
Definition: inflate.h:40
Definition: inflate.h:35
Definition: inflate.h:50
Definition: inflate.h:39
Definition: inflate.h:43
Definition: inflate.h:22
Definition: inflate.h:51