]> git.lizzy.rs Git - zlib.git/blobdiff - inflate.h
Add option to not compute or check check values.
[zlib.git] / inflate.h
index fbc9a67656dd779f46817dc2c55974160e17a4b7..adbc775d5f461405cc33b292e5939c7e521a13b1 100644 (file)
--- a/inflate.h
+++ b/inflate.h
@@ -82,7 +82,8 @@ typedef enum {
 struct inflate_state {
     inflate_mode mode;          /* current inflate mode */
     int last;                   /* true if processing last block */
-    int wrap;                   /* bit 0 true for zlib, bit 1 true for gzip */
+    int wrap;                   /* bit 0 true for zlib, bit 1 true for gzip,
+                                   bit 2 true to validate check value */
     int havedict;               /* true if dictionary provided */
     int flags;                  /* gzip header method and flags (0 if zlib) */
     unsigned dmax;              /* zlib header max distance (INFLATE_STRICT) */