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
815 #define deflateInit(strm, level) \
816 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
817 #define inflateInit(strm) \
818 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
819 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
820 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
821 (strategy), ZLIB_VERSION, sizeof(z_stream))
822 #define inflateInit2(strm, windowBits) \
823 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
ZEXTERN(int) inflate OF((z_streamp strm
int const char int stream_size
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
struct z_stream_s z_stream
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLenum GLsizei const GLchar * buf
GLuint GLuint64EXT address
struct internal_state FAR * state
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
int ZEXPORT inflate(z_streamp strm, int flush)
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
int ZEXPORT inflateReset(z_streamp strm)
int ZEXPORT inflateEnd(z_streamp strm)