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.
This commit is contained in:
Mark Adler
2011-10-07 23:00:42 -07:00
parent f442c1e89e
commit 77b47d55f1
11 changed files with 35 additions and 12 deletions

View File

@@ -128,7 +128,8 @@ EXPORTS
inflatePrime @158
inflateReset2 @159
inflateUndermine @160
; zlib1 v1.2.6 added:
gzgetc_ @30
gzflags @162
; zlib1 v1.2.6 added:
gzgetc_ @30
gzflags @162
inflateResetKeep @163