Lines Matching defs:inflate_state

74 struct inflate_state {  struct
75 inflate_mode mode; /* current inflate mode */
76 int last; /* true if processing last block */
77 int wrap; /* bit 0 true for zlib, bit 1 true for gzip */
78 int havedict; /* true if dictionary provided */
79 int flags; /* gzip header method and flags (0 if zlib) */
80 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
81 unsigned long check; /* protected copy of check value */
82 unsigned long total; /* protected copy of output count */
85 unsigned wbits; /* log base 2 of requested window size */
86 unsigned wsize; /* window size or zero if not using window */
87 unsigned whave; /* valid bytes in the window */
88 unsigned write; /* window write index */
89 unsigned char *window; /* allocated sliding window, if needed */
91 unsigned long hold; /* input bit accumulator */
92 unsigned bits; /* number of bits in "in" */
94 unsigned length; /* literal or length of data to copy */
95 unsigned offset; /* distance back to copy string from */
97 unsigned extra; /* extra bits needed */
99 code const *lencode; /* starting table for length/literal codes */
100 code const *distcode; /* starting table for distance codes */
101 unsigned lenbits; /* index bits for lencode */
102 unsigned distbits; /* index bits for distcode */
104 unsigned ncode; /* number of code length code lengths */
105 unsigned nlen; /* number of length code lengths */
106 unsigned ndist; /* number of distance code lengths */
107 unsigned have; /* number of code lengths in lens[] */
108 code *next; /* next available space in codes[] */
109 unsigned short lens[320]; /* temporary storage for code lengths */
110 unsigned short work[288]; /* work area for code table building */
111 code codes[ENOUGH]; /* space for code tables */