40 #define ZLIB_VERSION "1.1.4"
78 struct internal_state
FAR *state;
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));
865 int windowBits,
int memLevel,
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)
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
int ZEXPORT inflateReset(z_streamp strm)
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
int ZEXPORT gzeof(gzFile file)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
int ZEXPORT gzclose(gzFile file)
struct z_stream_s z_stream
const z_crc_t FAR *ZEXPORT get_crc_table()
int ZEXPORT inflateInit_(z_streamp strm, const char *version, int stream_size)
z_off_t ZEXPORT gztell(gzFile file)
const char *ZEXPORT zlibVersion()
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
int ZEXPORT deflateEnd(z_streamp strm)
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
int ZEXPORT gzputc(gzFile file, int c)
int ZEXPORT inflateSyncPoint(z_streamp strm)
int ZEXPORT gzrewind(gzFile file)
z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence)
int ZEXPORT deflateCopy(z_streamp dest, z_streamp source)
int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
gzFile ZEXPORT gzdopen(int fd, const char *mode)
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)
int ZEXPORT gzputs(gzFile file, const char *str)
int ZEXPORT inflateSync(z_streamp strm)
int ZEXPORT deflate(z_streamp strm, int flush)
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20)
int ZEXPORT gzgetc(gzFile file)
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
const char *ZEXPORT gzerror(gzFile file, int *errnum)
int ZEXPORT gzflush(gzFile file, int flush)
int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
gzFile ZEXPORT gzopen(char *path, const char *mode) const
int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
int ZEXPORT inflate(z_streamp strm, int flush)
const char *ZEXPORT zError(int err)
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
int ZEXPORT inflateEnd(z_streamp strm)