summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-04 15:45:59 +0100
committerSam James <sam@gentoo.org>2022-04-17 12:59:02 +0100
commit56e9b1647b14fc9a2d7cc6200bb86a9f415b00fb (patch)
treee8eab7ba7e3b46887da2c60b58c8abd6cc54543d /zlib/inflate.h
parentImport Ghostscript 9.56.0 (diff)
downloadghostscript-gpl-patches-56e9b1647b14fc9a2d7cc6200bb86a9f415b00fb.tar.gz
ghostscript-gpl-patches-56e9b1647b14fc9a2d7cc6200bb86a9f415b00fb.tar.bz2
ghostscript-gpl-patches-56e9b1647b14fc9a2d7cc6200bb86a9f415b00fb.zip
Import Ghostscript 9.56.1ghostscript-9.56.1ghostscript-9
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'zlib/inflate.h')
-rw-r--r--zlib/inflate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/zlib/inflate.h b/zlib/inflate.h
index a46cce6b..f127b6b1 100644
--- a/zlib/inflate.h
+++ b/zlib/inflate.h
@@ -1,5 +1,5 @@
/* inflate.h -- internal inflate state definition
- * Copyright (C) 1995-2016 Mark Adler
+ * Copyright (C) 1995-2019 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -86,7 +86,8 @@ struct inflate_state {
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) */
+ int flags; /* gzip header method and flags, 0 if zlib, or
+ -1 if raw or no header yet */
unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
unsigned long check; /* protected copy of check value */
unsigned long total; /* protected copy of output count */