inflate.h (7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0) | inflate.h (cd8822075a38d0734e74b1735e4b5dbef9789170) |
---|---|
1/* inflate.h -- internal inflate state definition | 1/* inflate.h -- internal inflate state definition |
2 * Copyright (C) 1995-2016 Mark Adler | 2 * Copyright (C) 1995-2019 Mark Adler |
3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* WARNING: this file should *not* be used by applications. It is 7 part of the implementation of the compression library and is 8 subject to change. Applications should only use zlib.h. 9 */ 10 --- 70 unchanged lines hidden (view full) --- 81 including the allocated sliding window, which is up to 32K bytes. */ 82struct inflate_state { 83 z_streamp strm; /* pointer back to this zlib stream */ 84 inflate_mode mode; /* current inflate mode */ 85 int last; /* true if processing last block */ 86 int wrap; /* bit 0 true for zlib, bit 1 true for gzip, 87 bit 2 true to validate check value */ 88 int havedict; /* true if dictionary provided */ | 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 */ 5 6/* WARNING: this file should *not* be used by applications. It is 7 part of the implementation of the compression library and is 8 subject to change. Applications should only use zlib.h. 9 */ 10 --- 70 unchanged lines hidden (view full) --- 81 including the allocated sliding window, which is up to 32K bytes. */ 82struct inflate_state { 83 z_streamp strm; /* pointer back to this zlib stream */ 84 inflate_mode mode; /* current inflate mode */ 85 int last; /* true if processing last block */ 86 int wrap; /* bit 0 true for zlib, bit 1 true for gzip, 87 bit 2 true to validate check value */ 88 int havedict; /* true if dictionary provided */ |
89 int flags; /* gzip header method and flags (0 if zlib) */ | 89 int flags; /* gzip header method and flags, 0 if zlib, or 90 -1 if raw or no header yet */ |
90 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */ 91 unsigned long check; /* protected copy of check value */ 92 unsigned long total; /* protected copy of output count */ 93 gz_headerp head; /* where to save gzip header information */ 94 /* sliding window */ 95 unsigned wbits; /* log base 2 of requested window size */ 96 unsigned wsize; /* window size or zero if not using window */ 97 unsigned whave; /* valid bytes in the window */ --- 28 unchanged lines hidden --- | 91 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */ 92 unsigned long check; /* protected copy of check value */ 93 unsigned long total; /* protected copy of output count */ 94 gz_headerp head; /* where to save gzip header information */ 95 /* sliding window */ 96 unsigned wbits; /* log base 2 of requested window size */ 97 unsigned wsize; /* window size or zero if not using window */ 98 unsigned whave; /* valid bytes in the window */ --- 28 unchanged lines hidden --- |