40 #define ZLIB_VERSION "1.2.3" 41 #define ZLIB_VERNUM 0x1230 164 #define Z_PARTIAL_FLUSH 1 165 #define Z_SYNC_FLUSH 2 166 #define Z_FULL_FLUSH 3 172 #define Z_STREAM_END 1 173 #define Z_NEED_DICT 2 175 #define Z_STREAM_ERROR (-2) 176 #define Z_DATA_ERROR (-3) 177 #define Z_MEM_ERROR (-4) 178 #define Z_BUF_ERROR (-5) 179 #define Z_VERSION_ERROR (-6) 184 #define Z_NO_COMPRESSION 0 185 #define Z_BEST_SPEED 1 186 #define Z_BEST_COMPRESSION 9 187 #define Z_DEFAULT_COMPRESSION (-1) 191 #define Z_HUFFMAN_ONLY 2 194 #define Z_DEFAULT_STRATEGY 0 199 #define Z_ASCII Z_TEXT 208 #define zlib_version zlibVersion() 540 const Bytef *dictionary,
738 const Bytef *dictionary,
878 typedef unsigned (*
in_func)
OF((
void FAR *,
unsigned char FAR * FAR *));
879 typedef int (*
out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
1099 ZEXTERN int ZEXPORT gzsetparams
OF((gzFile file,
int level,
int strategy));
1116 voidpc buf,
unsigned len));
1319 const char *
version,
int stream_size));
1321 const char *
version,
int stream_size));
1323 int windowBits,
int memLevel,
1324 int strategy,
const char *
version,
1327 const char *
version,
int stream_size));
1329 unsigned char FAR *window,
1332 #define deflateInit(strm, level) \ 1333 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream)) 1334 #define inflateInit(strm) \ 1335 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream)) 1336 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1337 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1338 (strategy), ZLIB_VERSION, sizeof(z_stream)) 1339 #define inflateInit2(strm, windowBits) \ 1340 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream)) 1341 #define inflateBackInit(strm, windowBits, window) \ 1342 inflateBackInit_((strm), (windowBits), (window), \ 1343 ZLIB_VERSION, sizeof(z_stream)) 1346 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
uLong ZEXPORT compressBound(uLong sourceLen)
Definition: compress.c:67
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
Definition: deflate.c:395
Byte FAR * voidpf
Definition: zconf.h:296
int ZEXPORT inflateReset(z_streamp strm)
Definition: inflate.c:103
Bytef * next_in
Definition: zlib.h:84
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: uncompr.c:26
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
Definition: infback.c:235
uInt avail_in
Definition: zlib.h:85
int version
Definition: jpeglib.h:901
int ZEXPORT inflateInit_(z_streamp strm, const char *version, int stream_size)
Definition: inflate.c:179
char * msg
Definition: zlib.h:92
unsigned long uLong
Definition: zconf.h:277
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
Definition: deflate.c:212
uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen)
Definition: deflate.c:460
int ZEXPORT deflateEnd(z_streamp strm)
Definition: deflate.c:823
struct gz_header_s gz_header
int ZEXPORT deflatePrime(z_streamp strm, int bits, int value)
Definition: deflate.c:386
gz_header FAR * gz_headerp
Definition: zlib.h:127
int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
Definition: infback.c:28
Byte FAR Bytef
Definition: zconf.h:283
voidpf opaque
Definition: zlib.h:97
struct internal_state FAR * state
Definition: zlib.h:93
voidp gzFile
Definition: zlib.h:1067
free_func zfree
Definition: zlib.h:96
int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: inflate.c:1152
int ZEXPORT inflateSyncPoint(z_streamp strm)
Definition: inflate.c:1287
uLong reserved
Definition: zlib.h:101
const unsigned long FAR *ZEXPORT get_crc_table()
Definition: crc32.c:205
png_structrp int mode
Definition: juce_PNGLoader.cpp:1243
int data_type
Definition: zlib.h:99
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, unsigned len)
Definition: crc32.c:219
uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2)
Definition: crc32.c:357
png_uint_32 crc
Definition: juce_PNGLoader.cpp:2078
int ZEXPORT deflateCopy(z_streamp dest, z_streamp source)
Definition: deflate.c:857
int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)
Definition: deflate.c:430
uLong total_in
Definition: zlib.h:86
int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
Definition: compress.c:22
alloc_func zalloc
Definition: zlib.h:95
Bytef * next_out
Definition: zlib.h:88
int ZEXPORT inflateBackEnd(z_streamp strm)
Definition: infback.c:603
int ZEXPORT inflateSync(z_streamp strm)
Definition: inflate.c:1237
Byte * voidp
Definition: zconf.h:297
int ZEXPORT deflate(z_streamp strm, int flush)
Definition: deflate.c:518
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head)
Definition: inflate.c:1191
int dummy
Definition: zlib.h:1347
uLong adler
Definition: zlib.h:100
uLong total_out
Definition: zlib.h:90
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
Definition: adler32.c:57
int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
Definition: inflate.c:140
uLong FAR uLongf
Definition: zconf.h:288
void
Definition: juce_PNGLoader.cpp:1173
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.c:58
int ZEXPORT inflatePrime(z_streamp strm, int bits, int value)
Definition: inflate.c:127
int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: deflate.c:302
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head)
Definition: deflate.c:377
uInt avail_out
Definition: zlib.h:89
int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
Definition: deflate.c:204
int ZEXPORT inflate(z_streamp strm, int flush)
Definition: inflate.c:540
const char *ZEXPORT zError(int err)
Definition: zutil.c:132
int ZEXPORT inflateCopy(z_streamp dest, z_streamp source)
Definition: inflate.c:1296
struct z_stream_s z_stream
z_stream FAR * z_streamp
Definition: zlib.h:104
int ZEXPORT deflateReset(z_streamp strm)
Definition: deflate.c:342
Byte const * voidpc
Definition: zconf.h:295
uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2)
Definition: adler32.c:125
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
Definition: zlib.h:78
int ZEXPORT inflateEnd(z_streamp strm)
Definition: inflate.c:1139
unsigned int uInt
Definition: zconf.h:276