diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 23:00:42 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 23:13:37 -0700 |
commit | 77b47d55f14be032c0ee10da44bbe7591be0abd8 (patch) | |
tree | 7e6532ef42e56abe8a2b29b7821b29f58372d259 /contrib/vstudio | |
parent | f442c1e89e99ae5a0068a2d32e7284c2623f09fd (diff) | |
download | zlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.tar.gz zlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.tar.bz2 zlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.zip |
Add undocumented inflateResetKeep() function for CAB file decoding.
The Microsoft CAB file format compresses each block with completed
deflate streams that depend on the sliding window history of the
previous block in order to decode. inflateResetKeep() does what
inflateReset() does, except the sliding window history from the
previous inflate operation is retained.
Diffstat (limited to 'contrib/vstudio')
-rw-r--r-- | contrib/vstudio/vc10/zlibvc.def | 9 | ||||
-rw-r--r-- | contrib/vstudio/vc9/zlibvc.def | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/contrib/vstudio/vc10/zlibvc.def b/contrib/vstudio/vc10/zlibvc.def index 0d6dc38..d6ab1c1 100644 --- a/contrib/vstudio/vc10/zlibvc.def +++ b/contrib/vstudio/vc10/zlibvc.def | |||
@@ -128,7 +128,8 @@ EXPORTS | |||
128 | inflatePrime @158 | 128 | inflatePrime @158 |
129 | inflateReset2 @159 | 129 | inflateReset2 @159 |
130 | inflateUndermine @160 | 130 | inflateUndermine @160 |
131 | 131 | ||
132 | ; zlib1 v1.2.6 added: | 132 | ; zlib1 v1.2.6 added: |
133 | gzgetc_ @30 | 133 | gzgetc_ @30 |
134 | gzflags @162 | 134 | gzflags @162 |
135 | inflateResetKeep @163 | ||
diff --git a/contrib/vstudio/vc9/zlibvc.def b/contrib/vstudio/vc9/zlibvc.def index 0d6dc38..d6ab1c1 100644 --- a/contrib/vstudio/vc9/zlibvc.def +++ b/contrib/vstudio/vc9/zlibvc.def | |||
@@ -128,7 +128,8 @@ EXPORTS | |||
128 | inflatePrime @158 | 128 | inflatePrime @158 |
129 | inflateReset2 @159 | 129 | inflateReset2 @159 |
130 | inflateUndermine @160 | 130 | inflateUndermine @160 |
131 | 131 | ||
132 | ; zlib1 v1.2.6 added: | 132 | ; zlib1 v1.2.6 added: |
133 | gzgetc_ @30 | 133 | gzgetc_ @30 |
134 | gzflags @162 | 134 | gzflags @162 |
135 | inflateResetKeep @163 | ||