v0.12.1
Classes | Macros | Enumerations
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 , TABLE ,
  LENLENS , CODELENS , LEN , LENEXT ,
  DIST , DISTEXT , MATCH , LIT ,
  CHECK , LENGTH , DONE , BAD ,
  MEM , SYNC
}
 

Macro Definition Documentation

◆ GUNZIP

#define GUNZIP

Definition at line 16 of file inflate.h.

Enumeration Type Documentation

◆ inflate_mode

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

Definition at line 20 of file inflate.h.

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: waiting for input or output to copy stored block */
36  TABLE, /* i: waiting for dynamic block table lengths */
37  LENLENS, /* i: waiting for code length code lengths */
38  CODELENS, /* i: waiting for length/lit and distance code lengths */
39  LEN, /* i: waiting for length/lit code */
40  LENEXT, /* i: waiting for length extra bits */
41  DIST, /* i: waiting for distance code */
42  DISTEXT, /* i: waiting for distance extra bits */
43  MATCH, /* o: waiting for output space to copy string */
44  LIT, /* o: waiting for output space to write literal */
45  CHECK, /* i: waiting for 32-bit check value */
46  LENGTH, /* i: waiting for 32-bit length (gzip) */
47  DONE, /* finished check, done -- remain here until reset */
48  BAD, /* got a data error -- remain here until reset */
49  MEM, /* got an inflate() memory error -- remain here until reset */
50  SYNC /* looking for synchronization bytes to restart inflate() */
51 } inflate_mode;
inflate_mode
Definition: inflate.h:20
@ HEAD
Definition: inflate.h:21
@ MATCH
Definition: inflate.h:43
@ DICT
Definition: inflate.h:31
@ TABLE
Definition: inflate.h:36
@ LENGTH
Definition: inflate.h:46
@ FLAGS
Definition: inflate.h:22
@ LIT
Definition: inflate.h:44
@ SYNC
Definition: inflate.h:50
@ OS
Definition: inflate.h:24
@ EXLEN
Definition: inflate.h:25
@ MEM
Definition: inflate.h:49
@ NAME
Definition: inflate.h:27
@ STORED
Definition: inflate.h:34
@ CODELENS
Definition: inflate.h:38
@ DICTID
Definition: inflate.h:30
@ DONE
Definition: inflate.h:47
@ TYPEDO
Definition: inflate.h:33
@ COMMENT
Definition: inflate.h:28
@ LENLENS
Definition: inflate.h:37
@ TYPE
Definition: inflate.h:32
@ COPY
Definition: inflate.h:35
@ DIST
Definition: inflate.h:41
@ LENEXT
Definition: inflate.h:40
@ HCRC
Definition: inflate.h:29
@ TIME
Definition: inflate.h:23
@ CHECK
Definition: inflate.h:45
@ DISTEXT
Definition: inflate.h:42
@ BAD
Definition: inflate.h:48
@ LEN
Definition: inflate.h:39
@ EXTRA
Definition: inflate.h:26