40 #define ZLIB_VERSION "1.2.5" 41 #define ZLIB_VERNUM 0x1250 42 #define ZLIB_VER_MAJOR 1 43 #define ZLIB_VER_MINOR 2 44 #define ZLIB_VER_REVISION 5 45 #define ZLIB_VER_SUBREVISION 0 80 typedef voidpf (*alloc_func) OF((voidpf
opaque, uInt items, uInt
size));
81 typedef void (*free_func) OF((voidpf
opaque, voidpf address));
165 #define Z_PARTIAL_FLUSH 1 166 #define Z_SYNC_FLUSH 2 167 #define Z_FULL_FLUSH 3 174 #define Z_STREAM_END 1 175 #define Z_NEED_DICT 2 177 #define Z_STREAM_ERROR (-2) 178 #define Z_DATA_ERROR (-3) 179 #define Z_MEM_ERROR (-4) 180 #define Z_BUF_ERROR (-5) 181 #define Z_VERSION_ERROR (-6) 186 #define Z_NO_COMPRESSION 0 187 #define Z_BEST_SPEED 1 188 #define Z_BEST_COMPRESSION 9 189 #define Z_DEFAULT_COMPRESSION (-1) 193 #define Z_HUFFMAN_ONLY 2 196 #define Z_DEFAULT_STRATEGY 0 201 #define Z_ASCII Z_TEXT 210 #define zlib_version zlibVersion() 216 ZEXTERN
const char * ZEXPORT zlibVersion OF((
void));
246 ZEXTERN
int ZEXPORT deflate OF((z_streamp strm,
int flush));
352 ZEXTERN
int ZEXPORT deflateEnd OF((z_streamp strm));
391 ZEXTERN
int ZEXPORT inflate OF((z_streamp strm,
int flush));
499 ZEXTERN
int ZEXPORT inflateEnd OF((z_streamp strm));
578 ZEXTERN
int ZEXPORT deflateSetDictionary OF((z_streamp strm,
617 ZEXTERN
int ZEXPORT deflateCopy OF((z_streamp dest,
635 ZEXTERN
int ZEXPORT deflateReset OF((z_streamp strm));
646 ZEXTERN
int ZEXPORT deflateParams OF((z_streamp strm,
667 ZEXTERN
int ZEXPORT deflateTune OF((z_streamp strm,
684 ZEXTERN uLong ZEXPORT deflateBound OF((z_streamp strm,
694 ZEXTERN
int ZEXPORT deflatePrime OF((z_streamp strm,
710 ZEXTERN
int ZEXPORT deflateSetHeader OF((z_streamp strm,
784 ZEXTERN
int ZEXPORT inflateSetDictionary OF((z_streamp strm,
806 ZEXTERN
int ZEXPORT inflateSync OF((z_streamp strm));
821 ZEXTERN
int ZEXPORT inflateCopy OF((z_streamp dest,
837 ZEXTERN
int ZEXPORT inflateReset OF((z_streamp strm));
847 ZEXTERN
int ZEXPORT inflateReset2 OF((z_streamp strm,
859 ZEXTERN
int ZEXPORT inflatePrime OF((z_streamp strm,
880 ZEXTERN
long ZEXPORT inflateMark OF((z_streamp strm));
908 ZEXTERN
int ZEXPORT inflateGetHeader OF((z_streamp strm,
970 typedef unsigned (*in_func) OF((
void FAR *,
unsigned char FAR * FAR *));
971 typedef int (*out_func) OF((
void FAR *,
unsigned char FAR *,
unsigned));
973 ZEXTERN
int ZEXPORT inflateBack OF((z_streamp strm,
974 in_func in,
void FAR *in_desc,
975 out_func out,
void FAR *out_desc));
1042 ZEXTERN
int ZEXPORT inflateBackEnd OF((z_streamp strm));
1050 ZEXTERN uLong ZEXPORT zlibCompileFlags OF((
void));
1102 ZEXTERN
int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1103 const Bytef *source, uLong sourceLen));
1116 ZEXTERN
int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1117 const Bytef *source, uLong sourceLen,
1132 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1139 ZEXTERN
int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
1140 const Bytef *source, uLong sourceLen));
1165 typedef voidp gzFile;
1190 ZEXTERN gzFile ZEXPORT gzdopen OF((
int fd,
const char *mode));
1209 ZEXTERN
int ZEXPORT gzbuffer OF((gzFile
file,
unsigned size));
1226 ZEXTERN
int ZEXPORT gzsetparams OF((gzFile
file,
int level,
int strategy));
1235 ZEXTERN
int ZEXPORT gzread OF((gzFile
file, voidp buf,
unsigned len));
1251 ZEXTERN
int ZEXPORT gzwrite OF((gzFile
file,
1252 voidpc buf,
unsigned len));
1259 ZEXTERN
int ZEXPORTVA gzprintf OF((gzFile
file,
const char *
format, ...));
1274 ZEXTERN
int ZEXPORT gzputs OF((gzFile
file,
const char *s));
1282 ZEXTERN
char * ZEXPORT gzgets OF((gzFile
file,
char *buf,
int len));
1295 ZEXTERN
int ZEXPORT gzputc OF((gzFile
file,
int c));
1301 ZEXTERN
int ZEXPORT gzgetc OF((gzFile
file));
1307 ZEXTERN
int ZEXPORT gzungetc OF((
int c, gzFile
file));
1319 ZEXTERN
int ZEXPORT gzflush OF((gzFile
file,
int flush));
1354 ZEXTERN
int ZEXPORT gzrewind OF((gzFile
file));
1382 ZEXTERN
int ZEXPORT gzeof OF((gzFile
file));
1397 ZEXTERN
int ZEXPORT gzdirect OF((gzFile
file));
1413 ZEXTERN
int ZEXPORT gzclose OF((gzFile
file));
1425 ZEXTERN
int ZEXPORT gzclose_r OF((gzFile
file));
1426 ZEXTERN
int ZEXPORT gzclose_w OF((gzFile
file));
1437 ZEXTERN
const char * ZEXPORT gzerror OF((gzFile
file,
int *errnum));
1453 ZEXTERN
void ZEXPORT gzclearerr OF((gzFile
file));
1469 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler,
const Bytef *buf, uInt len));
1498 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc,
const Bytef *buf, uInt len));
1532 ZEXTERN
int ZEXPORT deflateInit_ OF((z_streamp strm,
int level,
1533 const char *version,
int stream_size));
1534 ZEXTERN
int ZEXPORT inflateInit_ OF((z_streamp strm,
1535 const char *version,
int stream_size));
1536 ZEXTERN
int ZEXPORT deflateInit2_ OF((z_streamp strm,
int level,
int method,
1537 int windowBits,
int memLevel,
1538 int strategy,
const char *version,
1540 ZEXTERN
int ZEXPORT inflateInit2_ OF((z_streamp strm,
int windowBits,
1541 const char *version,
int stream_size));
1542 ZEXTERN
int ZEXPORT inflateBackInit_ OF((z_streamp strm,
int windowBits,
1543 unsigned char FAR *window,
1544 const char *version,
1546 #define deflateInit(strm, level) \ 1547 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream)) 1548 #define inflateInit(strm) \ 1549 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream)) 1550 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1551 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1552 (strategy), ZLIB_VERSION, sizeof(z_stream)) 1553 #define inflateInit2(strm, windowBits) \ 1554 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream)) 1555 #define inflateBackInit(strm, windowBits, window) \ 1556 inflateBackInit_((strm), (windowBits), (window), \ 1557 ZLIB_VERSION, sizeof(z_stream)) 1565 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 1566 ZEXTERN gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
1567 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t,
int));
1568 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
1569 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
1570 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
1571 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
1574 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 1575 # define gzopen gzopen64 1576 # define gzseek gzseek64 1577 # define gztell gztell64 1578 # define gzoffset gzoffset64 1579 # define adler32_combine adler32_combine64 1580 # define crc32_combine crc32_combine64 1581 # ifdef _LARGEFILE64_SOURCE 1582 ZEXTERN gzFile ZEXPORT gzopen64 OF((
const char *,
const char *));
1583 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t,
int));
1584 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
1585 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile));
1586 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
1587 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
1590 ZEXTERN gzFile ZEXPORT gzopen OF((
const char *,
const char *));
1591 ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t,
int));
1592 ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
1593 ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile));
1594 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
1595 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
1599 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL) 1604 ZEXTERN
const char * ZEXPORT zError OF((
int));
1605 ZEXTERN
int ZEXPORT inflateSyncPoint OF((z_streamp));
1606 ZEXTERN
const uLongf * ZEXPORT get_crc_table OF((
void));
1607 ZEXTERN
int ZEXPORT inflateUndermine OF((z_streamp,
int));
Definition: xz_dec_lzma2.c:44
Definition: b1553brm.c:75
unsigned size
Definition: tte.h:74
Definition: mongoose.c:442