Go to the documentation of this file.
40 #define ZLIB_VERSION "1.2.5"
41 #define ZLIB_VERNUM 0x1250
42 #define ZLIB_VER_MAJOR 1
43 #define ZLIB_VER_MINOR 2
44 #define ZLIB_VER_REVISION 5
45 #define ZLIB_VER_SUBREVISION 0
165 #define Z_PARTIAL_FLUSH 1
166 #define Z_SYNC_FLUSH 2
167 #define Z_FULL_FLUSH 3
174 #define Z_STREAM_END 1
175 #define Z_NEED_DICT 2
177 #define Z_STREAM_ERROR (-2)
178 #define Z_DATA_ERROR (-3)
179 #define Z_MEM_ERROR (-4)
180 #define Z_BUF_ERROR (-5)
181 #define Z_VERSION_ERROR (-6)
186 #define Z_NO_COMPRESSION 0
187 #define Z_BEST_SPEED 1
188 #define Z_BEST_COMPRESSION 9
189 #define Z_DEFAULT_COMPRESSION (-1)
193 #define Z_HUFFMAN_ONLY 2
196 #define Z_DEFAULT_STRATEGY 0
201 #define Z_ASCII Z_TEXT
210 #define zlib_version zlibVersion()
579 const Bytef *dictionary,
785 const Bytef *dictionary,
970 typedef unsigned (*in_func)
OF((
void FAR *,
unsigned char FAR * FAR *));
971 typedef
int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
974 in_func in,
void FAR *in_desc,
975 out_func out,
void FAR *out_desc));
1252 voidpc buf,
unsigned len));
1535 const char *version,
int stream_size));
1537 int windowBits,
int memLevel,
1538 int strategy,
const char *version,
1541 const char *version,
int stream_size));
1543 unsigned char FAR *window,
1544 const char *version,
1546 #define deflateInit(strm, level) \
1547 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
1548 #define inflateInit(strm) \
1549 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
1550 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1551 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1552 (strategy), ZLIB_VERSION, sizeof(z_stream))
1553 #define inflateInit2(strm, windowBits) \
1554 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
1555 #define inflateBackInit(strm, windowBits, window) \
1556 inflateBackInit_((strm), (windowBits), (window), \
1557 ZLIB_VERSION, sizeof(z_stream))
1565 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
1574 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
1575 # define gzopen gzopen64
1576 # define gzseek gzseek64
1577 # define gztell gztell64
1578 # define gzoffset gzoffset64
1579 # define adler32_combine adler32_combine64
1580 # define crc32_combine crc32_combine64
1581 # ifdef _LARGEFILE64_SOURCE
1599 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)