summaryrefslogtreecommitdiff
path: root/as400/zlib.inc
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-10-07 23:00:42 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-10-07 23:13:37 -0700
commit77b47d55f14be032c0ee10da44bbe7591be0abd8 (patch)
tree7e6532ef42e56abe8a2b29b7821b29f58372d259 /as400/zlib.inc
parentf442c1e89e99ae5a0068a2d32e7284c2623f09fd (diff)
downloadzlib-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 'as400/zlib.inc')
-rw-r--r--as400/zlib.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/as400/zlib.inc b/as400/zlib.inc
index 41ff616..976dca2 100644
--- a/as400/zlib.inc
+++ b/as400/zlib.inc
@@ -431,6 +431,10 @@
431 D strm like(z_stream) Expansion stream 431 D strm like(z_stream) Expansion stream
432 D arg 10I 0 value Error code 432 D arg 10I 0 value Error code
433 * 433 *
434 D inflateResetKeep...
435 D PR 10I 0 extproc('inflateResetKeep') End and init. stream
436 D strm like(z_stream) Expansion stream
437 *
434 D gzflags PR 10U 0 extproc('gzflags') 438 D gzflags PR 10U 0 extproc('gzflags')
435 * 439 *
436 /endif 440 /endif