40 #define ZLIB_VERSION "1.1.4"
126 #define Z_PARTIAL_FLUSH 1
127 #define Z_SYNC_FLUSH 2
128 #define Z_FULL_FLUSH 3
133 #define Z_STREAM_END 1
134 #define Z_NEED_DICT 2
136 #define Z_STREAM_ERROR (-2)
137 #define Z_DATA_ERROR (-3)
138 #define Z_MEM_ERROR (-4)
139 #define Z_BUF_ERROR (-5)
140 #define Z_VERSION_ERROR (-6)
145 #define Z_NO_COMPRESSION 0
146 #define Z_BEST_SPEED 1
147 #define Z_BEST_COMPRESSION 9
148 #define Z_DEFAULT_COMPRESSION (-1)
152 #define Z_HUFFMAN_ONLY 2
153 #define Z_DEFAULT_STRATEGY 0
166 #define zlib_version zlibVersion()
445 const Bytef *dictionary,
554 const Bytef *dictionary,
705 const voidp buf,
unsigned len));
861 const char *version,
int stream_size));
863 const char *version,
int stream_size));
864 ZEXTERN int ZEXPORT deflateInit2_
OF((z_streamp strm,
int level,
int method,
865 int windowBits,
int memLevel,
866 int strategy,
const char *version,
869 const char *version,
int stream_size));
870 #define deflateInit(strm, level) \
871 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
872 #define inflateInit(strm) \
873 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
874 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
875 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
876 (strategy), ZLIB_VERSION, sizeof(z_stream))
877 #define inflateInit2(strm, windowBits) \
878 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
881 #if !defined(_Z_UTIL_H) && !defined(NO_DUMMY_DECL)
struct internal_state FAR * state
struct z_stream_s z_stream