Go to the documentation of this file.
34 #if defined( INC_ALL )
48 #if defined( ZLIB_INTERNAL ) && defined( _MSC_VER )
54 #pragma warning( disable: 4127 )
55 #pragma warning( disable: 4244 )
79 #define ZLIB_VERSION "1.2.4"
80 #define ZLIB_VERNUM 0x1240
81 #define ZLIB_VER_MAJOR 1
82 #define ZLIB_VER_MINOR 2
83 #define ZLIB_VER_REVISION 4
84 #define ZLIB_VER_SUBREVISION 0
204 #define Z_PARTIAL_FLUSH 1
205 #define Z_SYNC_FLUSH 2
206 #define Z_FULL_FLUSH 3
213 #define Z_STREAM_END 1
214 #define Z_NEED_DICT 2
216 #define Z_STREAM_ERROR (-2)
217 #define Z_DATA_ERROR (-3)
218 #define Z_MEM_ERROR (-4)
219 #define Z_BUF_ERROR (-5)
220 #define Z_VERSION_ERROR (-6)
225 #define Z_NO_COMPRESSION 0
226 #define Z_BEST_SPEED 1
227 #define Z_BEST_COMPRESSION 9
228 #define Z_DEFAULT_COMPRESSION (-1)
232 #define Z_HUFFMAN_ONLY 2
235 #define Z_DEFAULT_STRATEGY 0
240 #define Z_ASCII Z_TEXT
249 #define zlib_version zlibVersion()
618 const Bytef *dictionary,
824 const Bytef *dictionary,
1009 typedef unsigned (*in_func)
OF((
void FAR *,
unsigned char FAR * FAR *));
1010 typedef
int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
1013 in_func in,
void FAR *in_desc,
1014 out_func out,
void FAR *out_desc));
1265 ZEXTERN int ZEXPORT gzsetparams
OF((gzFile file,
int level,
int strategy));
1291 voidpc buf,
unsigned len));
1572 const char *version,
int stream_size));
1574 const char *version,
int stream_size));
1576 int windowBits,
int memLevel,
1577 int strategy,
const char *version,
1580 const char *version,
int stream_size));
1582 unsigned char FAR *window,
1583 const char *version,
1585 #define deflateInit(strm, level) \
1586 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
1587 #define inflateInit(strm) \
1588 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
1589 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1590 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1591 (strategy), ZLIB_VERSION, sizeof(z_stream))
1592 #define inflateInit2(strm, windowBits) \
1593 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
1594 #define inflateBackInit(strm, windowBits, window) \
1595 inflateBackInit_((strm), (windowBits), (window), \
1596 ZLIB_VERSION, sizeof(z_stream))
1598 #ifdef _LARGEFILE64_SOURCE
1607 #if !defined(ZLIB_INTERNAL) && defined( _FILE_OFFSET_BITS ) && \
1608 _FILE_OFFSET_BITS == 64
1609 # define gzopen gzopen64
1610 # define gzseek gzseek64
1611 # define gztell gztell64
1612 # define gzoffset gzoffset64
1613 # define adler32_combine adler32_combine64
1614 # define crc32_combine crc32_combine64
1615 # ifndef _LARGEFILE64_SOURCE
1632 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)