Lines Matching defs:inflate_state

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