afe7cf78d5
This patch adds the deflateResetKeep() function to retain the sliding window for the next deflate operation, and fixes an inflateResetKeep() problem that came from inflate() not updating the window when the stream completed. This enables constructing and decompressing a series of concatenated deflate streams where each can depend on the history of uncompressed data that precedes it. This generalizes deflateSetDictionary() and inflateSetDictionary() to permit setting the dictionary in the middle of a stream for raw deflate and inflate. This in combination with the Keep functions enables a scheme for updating files block by block with the transmission of compressed data, where blocks are sent with deflateResetKeep() to retain history for better compression, and deflateSetDictionary() is used for blocks already present at the receiver to skip compression but insert that data in the history, again for better compression. The corresponding inflate calls are done on the receiver side.
83 lines
1.1 KiB
Plaintext
83 lines
1.1 KiB
Plaintext
ZLIB_1.2.0 {
|
|
global:
|
|
compressBound;
|
|
deflateBound;
|
|
inflateBack;
|
|
inflateBackEnd;
|
|
inflateBackInit_;
|
|
inflateCopy;
|
|
local:
|
|
deflate_copyright;
|
|
inflate_copyright;
|
|
inflate_fast;
|
|
inflate_table;
|
|
zcalloc;
|
|
zcfree;
|
|
z_errmsg;
|
|
gz_error;
|
|
gz_intmax;
|
|
_*;
|
|
};
|
|
|
|
ZLIB_1.2.0.2 {
|
|
gzclearerr;
|
|
gzungetc;
|
|
zlibCompileFlags;
|
|
} ZLIB_1.2.0;
|
|
|
|
ZLIB_1.2.0.8 {
|
|
deflatePrime;
|
|
} ZLIB_1.2.0.2;
|
|
|
|
ZLIB_1.2.2 {
|
|
adler32_combine;
|
|
crc32_combine;
|
|
deflateSetHeader;
|
|
inflateGetHeader;
|
|
} ZLIB_1.2.0.8;
|
|
|
|
ZLIB_1.2.2.3 {
|
|
deflateTune;
|
|
gzdirect;
|
|
} ZLIB_1.2.2;
|
|
|
|
ZLIB_1.2.2.4 {
|
|
inflatePrime;
|
|
} ZLIB_1.2.2.3;
|
|
|
|
ZLIB_1.2.3.3 {
|
|
adler32_combine64;
|
|
crc32_combine64;
|
|
gzopen64;
|
|
gzseek64;
|
|
gztell64;
|
|
inflateUndermine;
|
|
} ZLIB_1.2.2.4;
|
|
|
|
ZLIB_1.2.3.4 {
|
|
inflateReset2;
|
|
inflateMark;
|
|
} ZLIB_1.2.3.3;
|
|
|
|
ZLIB_1.2.3.5 {
|
|
gzbuffer;
|
|
gzoffset;
|
|
gzoffset64;
|
|
gzclose_r;
|
|
gzclose_w;
|
|
} ZLIB_1.2.3.4;
|
|
|
|
ZLIB_1.2.5.1 {
|
|
deflatePending;
|
|
} ZLIB_1.2.3.5;
|
|
|
|
ZLIB_1.2.5.2 {
|
|
gzflags;
|
|
gzgetc_;
|
|
inflateResetKeep;
|
|
} ZLIB_1.2.5.1;
|
|
|
|
ZLIB_1.2.5.3 {
|
|
deflateResetKeep;
|
|
} ZLIB_1.2.5.2;
|