diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-14 20:34:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-14 20:34:59 +0300 |
commit | fdeeb9226bef15ce8cb188b9ceeb3f2a6f063b6c (patch) | |
tree | 9983e7ebef34abc90e8e333bd32c3c53528a7864 /libs/zlib/src/inflate.h | |
parent | cec4228b656b44a8cdde869c3031e6e62480688d (diff) |
Revert "zlib: updated to version 1.2.11"
This reverts commit cd6513f3037456f6c7c3a8d051be51d62cb9bd88.
Diffstat (limited to 'libs/zlib/src/inflate.h')
-rw-r--r-- | libs/zlib/src/inflate.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libs/zlib/src/inflate.h b/libs/zlib/src/inflate.h index a46cce6b6d..95f4986d40 100644 --- a/libs/zlib/src/inflate.h +++ b/libs/zlib/src/inflate.h @@ -1,5 +1,5 @@ /* inflate.h -- internal inflate state definition - * Copyright (C) 1995-2016 Mark Adler + * Copyright (C) 1995-2009 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -18,7 +18,7 @@ /* Possible inflate modes between inflate() calls */ typedef enum { - HEAD = 16180, /* i: waiting for magic header */ + 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) */ @@ -77,14 +77,11 @@ typedef enum { CHECK -> LENGTH -> DONE */ -/* State maintained between inflate() calls -- approximately 7K bytes, not - including the allocated sliding window, which is up to 32K bytes. */ +/* state maintained between inflate() calls. Approximately 10K bytes. */ struct inflate_state { - z_streamp strm; /* pointer back to this zlib stream */ 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, - bit 2 true to validate check value */ + int wrap; /* bit 0 true for zlib, bit 1 true for gzip */ int havedict; /* true if dictionary provided */ int flags; /* gzip header method and flags (0 if zlib) */ unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */ |