|
ZLIB
|
Internal inflate state definition. More...
Go to the source code of this file.
Data Structures | |
| struct | inflate_state |
| State maintained between inflate() calls – approximately 7K bytes, not including the allocated sliding window, which is up to 32K bytes. More... | |
Enumerations | |
| enum | inflate_mode { HEAD = 16180 , FLAGS , TIME , OS , EXLEN , EXTRA , NAME , COMMENT , HCRC , DICTID , DICT , TYPE , TYPEDO , STORED , COPY_ , COPY , TABLE , LENLENS , CODELENS , LEN_ , LEN , LENEXT , DIST , DISTEXT , MATCH , LIT , CHECK , LENGTH , DONE , BAD , MEM , SYNC } |
| Possible inflate modes between inflate() calls. More... | |
Internal inflate state definition.
Copyright (C) 1995-2019 Mark Adler For conditions of distribution and use, see copyright notice in zlib.h
| enum inflate_mode |
Possible inflate modes between inflate() calls.
| Enumerator | |
|---|---|
| HEAD | i: waiting for magic header |
| FLAGS | i: waiting for method and flags (gzip) |
| TIME | i: waiting for modification time (gzip) |
| OS | i: waiting for extra flags and operating system (gzip) |
| EXLEN | i: waiting for extra length (gzip) |
| EXTRA | i: waiting for extra bytes (gzip) |
| NAME | i: waiting for end of file name (gzip) |
| COMMENT | i: waiting for end of comment (gzip) |
| HCRC | i: waiting for header crc (gzip) |
| DICTID | i: waiting for dictionary check value |
| DICT | waiting for inflateSetDictionary() call |
| TYPE | i: waiting for type bits, including last-flag bit |
| TYPEDO | i: same, but skip check to exit inflate on new block |
| STORED | i: waiting for stored size (length and complement) |
| COPY_ | i/o: same as COPY below, but only first time in |
| COPY | i/o: waiting for input or output to copy stored block |
| TABLE | i: waiting for dynamic block table lengths |
| LENLENS | i: waiting for code length code lengths |
| CODELENS | i: waiting for length/lit and distance code lengths |
| LEN_ | i: same as LEN below, but only first time in |
| LEN | i: waiting for length/lit/eob code |
| LENEXT | i: waiting for length extra bits |
| DIST | i: waiting for distance code |
| DISTEXT | i: waiting for distance extra bits |
| MATCH | o: waiting for output space to copy string |
| LIT | o: waiting for output space to write literal |