]> git.lizzy.rs Git - zlib.git/blobdiff - inflate.h
zlib 1.2.0.5
[zlib.git] / inflate.h
index 8bd40a5d930c5959872c12f49019a8c47bd68c92..9a12c8fd2963bfa45e884077679c706e1f6a2ab7 100644 (file)
--- a/inflate.h
+++ b/inflate.h
@@ -32,6 +32,7 @@ typedef enum {
     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: waiting for input or output to copy stored block */
         TABLE,      /* i: waiting for dynamic block table lengths */
@@ -88,7 +89,7 @@ struct inflate_state {
         /* sliding window */
     unsigned wbits;             /* log base 2 of requested window size */
     unsigned wsize;             /* window size or zero if not using window */
-    unsigned whave;            /* valid bytes in the window */
+    unsigned whave;             /* valid bytes in the window */
     unsigned write;             /* window write index */
     unsigned char FAR *window;  /* allocated sliding window, if needed */
         /* bit accumulator */