Go to the documentation of this file.
40 #define ZLIB_VERSION "1.2.3"
41 #define ZLIB_VERNUM 0x1230
163 #define Z_PARTIAL_FLUSH 1
164 #define Z_SYNC_FLUSH 2
165 #define Z_FULL_FLUSH 3
171 #define Z_STREAM_END 1
172 #define Z_NEED_DICT 2
174 #define Z_STREAM_ERROR (-2)
175 #define Z_DATA_ERROR (-3)
176 #define Z_MEM_ERROR (-4)
177 #define Z_BUF_ERROR (-5)
178 #define Z_VERSION_ERROR (-6)
183 #define Z_NO_COMPRESSION 0
184 #define Z_BEST_SPEED 1
185 #define Z_BEST_COMPRESSION 9
186 #define Z_DEFAULT_COMPRESSION (-1)
190 #define Z_HUFFMAN_ONLY 2
193 #define Z_DEFAULT_STRATEGY 0
198 #define Z_ASCII Z_TEXT
207 #define zlib_version zlibVersion()
877 typedef unsigned (*in_func)
OF((
void FAR *,
unsigned char FAR *
FAR *));
878 typedef int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
881 in_func in,
void FAR *in_desc,
882 out_func out,
void FAR *out_desc));
1318 const char *
version,
int stream_size));
1320 const char *
version,
int stream_size));
1322 int windowBits,
int memLevel,
1326 const char *
version,
int stream_size));
1328 unsigned char FAR *window,
1331 #define deflateInit(strm, level) \
1332 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
1333 #define inflateInit(strm) \
1334 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
1335 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1336 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1337 (strategy), ZLIB_VERSION, sizeof(z_stream))
1338 #define inflateInit2(strm, windowBits) \
1339 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
1340 #define inflateBackInit(strm, windowBits, window) \
1341 inflateBackInit_((strm), (windowBits), (window), \
1342 ZLIB_VERSION, sizeof(z_stream))
1345 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
const unsigned long FAR *ZEXPORT get_crc_table()
int ZEXPORT gzputc(gzFile file, int c)
z_off_t ZEXPORT gztell(gzFile file)
gzFile ZEXPORT gzopen(char *path, const char *mode) const
z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence)
int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
int ZEXPORT deflateEnd(z_streamp strm)
uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2)
int ZEXPORT gzflush(gzFile file, int flush)
int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
int ZEXPORT inflateSyncPoint(z_streamp strm)
int ZEXPORT gzeof(gzFile file)
const char *ZEXPORT zlibVersion()
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
int ZEXPORT gzrewind(gzFile file)
gz_header FAR * gz_headerp
struct internal_state FAR * state
int ZEXPORT inflateInit_(z_streamp strm, const char *version, int stream_size)
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)
int ZEXPORT deflatePrime(z_streamp strm, int bits, int value)
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen)
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
struct gz_header_s gz_header
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
gzFile ZEXPORT gzdopen(int fd, const char *mode)
void ZEXPORT gzclearerr(gzFile file)
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, unsigned len)
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
int ZEXPORT gzdirect(gzFile file)
uLong ZEXPORT compressBound(uLong sourceLen)
uLong ZEXPORT zlibCompileFlags()
int ZEXPORT gzclose(gzFile file)
struct z_stream_s z_stream
int ZEXPORT gzgetc(gzFile file)
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head)
int ZEXPORT deflateCopy(z_streamp dest, z_streamp source)
int ZEXPORT inflateSync(z_streamp strm)
const char *ZEXPORT gzerror(gzFile file, int *errnum)
int ZEXPORT gzputs(gzFile file, const char *s)
int ZEXPORT inflateBackEnd(z_streamp strm)
int ZEXPORT inflatePrime(z_streamp strm, int bits, int value)
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
const char *ZEXPORT zError(int err)
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
int ZEXPORT gzungetc(int c, gzFile file)
typedef void(PNGAPI *png_error_ptr) PNGARG((png_structp
int ZEXPORT deflate(z_streamp strm, int flush)
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
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)
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2)
int ZEXPORT inflateEnd(z_streamp strm)
int ZEXPORT inflate(z_streamp strm, int flush)
int ZEXPORT inflateReset(z_streamp strm)
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head)
int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
int ZEXPORT inflateCopy(z_streamp dest, z_streamp source)
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04