diff options
Diffstat (limited to 'inflate.h')
-rw-r--r-- | inflate.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -8,11 +8,11 @@ | |||
8 | subject to change. Applications should only use zlib.h. | 8 | subject to change. Applications should only use zlib.h. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* define NO_GUNZIP when compiling if you want to disable gzip header and | 11 | /* define NO_GZIP when compiling if you want to disable gzip header and |
12 | trailer decoding by inflate(). NO_GUNZIP would be used to avoid linking in | 12 | trailer decoding by inflate(). NO_GZIP would be used to avoid linking in |
13 | the crc code when it is not needed. For shared libraries, gzip decoding | 13 | the crc code when it is not needed. For shared libraries, gzip decoding |
14 | should be left enabled. */ | 14 | should be left enabled. */ |
15 | #ifndef NO_GUNZIP | 15 | #ifndef NO_GZIP |
16 | # define GUNZIP | 16 | # define GUNZIP |
17 | #endif | 17 | #endif |
18 | 18 | ||
@@ -88,6 +88,7 @@ struct inflate_state { | |||
88 | /* sliding window */ | 88 | /* sliding window */ |
89 | unsigned wbits; /* log base 2 of requested window size */ | 89 | unsigned wbits; /* log base 2 of requested window size */ |
90 | unsigned wsize; /* window size or zero if not using window */ | 90 | unsigned wsize; /* window size or zero if not using window */ |
91 | unsigned whave; /* valid bytes in the window */ | ||
91 | unsigned write; /* window write index */ | 92 | unsigned write; /* window write index */ |
92 | unsigned char FAR *window; /* allocated sliding window, if needed */ | 93 | unsigned char FAR *window; /* allocated sliding window, if needed */ |
93 | /* bit accumulator */ | 94 | /* bit accumulator */ |