Lines Matching defs:inflate_state

200 struct inflate_state {  struct
201 inflate_mode mode; /* current inflate mode */
202 int last; /* true if processing last block */
203 int wrap; /* bit 0 true for zlib, bit 1 true for gzip */
204 int havedict; /* true if dictionary provided */
205 int flags; /* gzip header method and flags (0 if zlib) */
206 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
207 unsigned long check; /* protected copy of check value */
208 unsigned long total; /* protected copy of output count */
209 gz_headerp head; /* where to save gzip header information */
211 unsigned wbits; /* log base 2 of requested window size */
212 unsigned wsize; /* window size or zero if not using window */
213 unsigned whave; /* valid bytes in the window */
214 unsigned write; /* window write index */
215 unsigned char FAR *window; /* allocated sliding window, if needed */
217 unsigned long hold; /* input bit accumulator */
218 unsigned bits; /* number of bits in "in" */
220 unsigned length; /* literal or length of data to copy */
221 unsigned offset; /* distance back to copy string from */
223 unsigned extra; /* extra bits needed */
225 code const FAR *lencode; /* starting table for length/literal codes */
226 code const FAR *distcode; /* starting table for distance codes */
227 unsigned lenbits; /* index bits for lencode */
228 unsigned distbits; /* index bits for distcode */
230 unsigned ncode; /* number of code length code lengths */
231 unsigned nlen; /* number of length code lengths */
232 unsigned ndist; /* number of distance code lengths */
233 unsigned have; /* number of code lengths in lens[] */
234 code FAR *next; /* next available space in codes[] */
235 unsigned short lens[320]; /* temporary storage for code lengths */
236 unsigned short work[288]; /* work area for code table building */
237 code codes[ENOUGH]; /* space for code tables */