From 4b5a43a219d51066c01ff2ab86af18b967f2d0dd Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:22:37 -0700 Subject: zlib 1.2.0.5 --- old/zlib.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'old/zlib.html') diff --git a/old/zlib.html b/old/zlib.html index c343703..8c1b190 100644 --- a/old/zlib.html +++ b/old/zlib.html @@ -45,7 +45,7 @@
-
Jean-loup Gailly +
Jean-loup Gailly
jloup@gzip.org
Mark Adler
madler@alumni.caltech.edu @@ -55,19 +55,19 @@ Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt - (zlib format), + (zlib format), rfc1951.txt - (deflate format) and + (deflate format) and rfc1952.txt (gzip format).

- This manual is converted from zlib.h by + This manual is converted from zlib.h by piaip

Visit - http://ftp.cdrom.com/pub/infozip/zlib/ + http://ftp.cdrom.com/pub/infozip/zlib/ for the official zlib web page.

@@ -99,7 +99,7 @@


Utility functions

The following utility functions are implemented on top of the -
basic stream-oriented functions. + basic stream-oriented functions. To simplify the interface, some default options are assumed (compression level and memory usage, standard memory allocation functions). The source code of these @@ -406,7 +406,7 @@ enough room in the output buffer), next_in and avail_in are updated and processing will resume at this point for the next call of deflate(). -
  • +
  • Provide more output starting at next_out and update next_out and avail_out accordingly. This action is forced if the parameter flush is non zero. Forcing flush frequently degrades the compression ratio, so this parameter @@ -453,7 +453,7 @@ deflate has returned Z_STREAM_END, the only possible operations on the stream are deflateReset or deflateEnd.

    - + Z_FINISH can be used immediately after deflateInit if all the compression is to be done in a single step. In this case, avail_out must be at least 0.1% larger than avail_in plus 12 bytes. If deflate does not return @@ -493,7 +493,7 @@

    int inflateInit (z_streamp strm); -
    +
    Initializes the internal stream state for decompression. The fields next_in, avail_in, zalloc, zfree and opaque must be initialized before by the caller. If next_in is not Z_NULL and avail_in is large enough (the exact @@ -529,9 +529,9 @@ enough room in the output buffer), next_in is updated and processing will resume at this point for the next call of inflate(). -
  • Provide more output starting at next_out and update next_out and - avail_out accordingly. inflate() provides as much output as possible, - until there is no more input data or no more space in the output buffer +
  • Provide more output starting at next_out and update next_out and + avail_out accordingly. inflate() provides as much output as possible, + until there is no more input data or no more space in the output buffer (see below about the flush parameter).

    @@ -566,7 +566,7 @@ If a preset dictionary is needed at this point (see inflateSetDictionary below), inflate sets strm-adler to the adler32 checksum of the - dictionary chosen by the compressor and returns Z_NEED_DICT ; otherwise + dictionary chosen by the compressor and returns Z_NEED_DICT ; otherwise it sets strm-> adler to the adler32 checksum of all output produced so far (that is, total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described below. At the end of the stream, inflate() @@ -652,7 +652,7 @@ memory, Z_STREAM_ERROR if a parameter is invalid (such as an invalid method). msg is set to null if there is no error message. deflateInit2 does not perform any compression: this will be done by deflate().

    - +

    int deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength);
    Initializes the compression dictionary from the given byte sequence @@ -723,7 +723,7 @@ Before the call of deflateParams, the stream state must be set as for a call of deflate(), since the currently available input may have to - be compressed and flushed. In particular, strm-> avail_out must be + be compressed and flushed. In particular, strm-> avail_out must be non-zero.

    deflateParams returns Z_OK if success, Z_STREAM_ERROR if the source @@ -865,7 +865,7 @@ typedef struct z_stream_s { uLong reserved; /* reserved for future use */ } z_stream ; -typedef z_stream FAR * z_streamp; ÿ +typedef z_stream FAR * z_streamp; ÿ The application must update next_in and avail_in when avail_in has @@ -904,7 +904,7 @@ typedef z_stream FAR * z_streamp

     #define Z_NO_FLUSH      0
    -#define Z_PARTIAL_FLUSH 1 
    +#define Z_PARTIAL_FLUSH 1
     	/* will be removed, use Z_SYNC_FLUSH instead */
     #define Z_SYNC_FLUSH    2
     #define Z_FULL_FLUSH    3
    -- 
    cgit v1.2.3-55-g6feb