summaryrefslogtreecommitdiff
path: root/inflate.h
diff options
context:
space:
mode:
Diffstat (limited to 'inflate.h')
-rw-r--r--inflate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inflate.h b/inflate.h
index 8bd40a5..9a12c8f 100644
--- a/inflate.h
+++ b/inflate.h
@@ -32,6 +32,7 @@ typedef enum {
32 DICTID, /* i: waiting for dictionary check value */ 32 DICTID, /* i: waiting for dictionary check value */
33 DICT, /* waiting for inflateSetDictionary() call */ 33 DICT, /* waiting for inflateSetDictionary() call */
34 TYPE, /* i: waiting for type bits, including last-flag bit */ 34 TYPE, /* i: waiting for type bits, including last-flag bit */
35 TYPEDO, /* i: same, but skip check to exit inflate on new block */
35 STORED, /* i: waiting for stored size (length and complement) */ 36 STORED, /* i: waiting for stored size (length and complement) */
36 COPY, /* i/o: waiting for input or output to copy stored block */ 37 COPY, /* i/o: waiting for input or output to copy stored block */
37 TABLE, /* i: waiting for dynamic block table lengths */ 38 TABLE, /* i: waiting for dynamic block table lengths */
@@ -88,7 +89,7 @@ struct inflate_state {
88 /* sliding window */ 89 /* sliding window */
89 unsigned wbits; /* log base 2 of requested window size */ 90 unsigned wbits; /* log base 2 of requested window size */
90 unsigned wsize; /* window size or zero if not using window */ 91 unsigned wsize; /* window size or zero if not using window */
91 unsigned whave; /* valid bytes in the window */ 92 unsigned whave; /* valid bytes in the window */
92 unsigned write; /* window write index */ 93 unsigned write; /* window write index */
93 unsigned char FAR *window; /* allocated sliding window, if needed */ 94 unsigned char FAR *window; /* allocated sliding window, if needed */
94 /* bit accumulator */ 95 /* bit accumulator */