Go to the documentation of this file.
40 #define ZLIB_VERSION "1.2.2"
41 #define ZLIB_VERNUM 0x1220
140 #define Z_PARTIAL_FLUSH 1
141 #define Z_SYNC_FLUSH 2
142 #define Z_FULL_FLUSH 3
148 #define Z_STREAM_END 1
149 #define Z_NEED_DICT 2
151 #define Z_STREAM_ERROR (-2)
152 #define Z_DATA_ERROR (-3)
153 #define Z_MEM_ERROR (-4)
154 #define Z_BUF_ERROR (-5)
155 #define Z_VERSION_ERROR (-6)
160 #define Z_NO_COMPRESSION 0
161 #define Z_BEST_SPEED 1
162 #define Z_BEST_COMPRESSION 9
163 #define Z_DEFAULT_COMPRESSION (-1)
167 #define Z_HUFFMAN_ONLY 2
169 #define Z_DEFAULT_STRATEGY 0
182 #define zlib_version zlibVersion()
508 const Bytef *dictionary,
663 const Bytef *dictionary,
744 typedef unsigned (*in_func)
OF((
void FAR *,
unsigned char FAR * FAR *));
745 typedef
int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
748 in_func
in,
void FAR *in_desc,
749 out_func out,
void FAR *out_desc));
982 voidpc buf,
unsigned len));
1163 const char *version,
int stream_size));
1165 int windowBits,
int memLevel,
1166 int strategy,
const char *version,
1169 const char *version,
int stream_size));
1171 unsigned char FAR *
window,
1172 const char *version,
1174 #define deflateInit(strm, level) \
1175 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
1176 #define inflateInit(strm) \
1177 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
1178 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1179 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1180 (strategy), ZLIB_VERSION, sizeof(z_stream))
1181 #define inflateInit2(strm, windowBits) \
1182 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
1183 #define inflateBackInit(strm, windowBits, window) \
1184 inflateBackInit_((strm), (windowBits), (window), \
1185 ZLIB_VERSION, sizeof(z_stream))
1187 #if !defined(_ZUTIL_H) && !defined(NO_DUMMY_DECL)