50 #define ZLIB_VERSION "1.2.8" 51 #define ZLIB_VERNUM 0x1280 52 #define ZLIB_VER_MAJOR 1 53 #define ZLIB_VER_MINOR 2 54 #define ZLIB_VER_REVISION 8 55 #define ZLIB_VER_SUBREVISION 0 93 struct internal_state;
95 typedef struct z_stream_s {
116 typedef z_stream
FAR *z_streamp;
122 typedef struct gz_header_s {
139 typedef gz_header
FAR *gz_headerp;
175 #define Z_PARTIAL_FLUSH 1 176 #define Z_SYNC_FLUSH 2 177 #define Z_FULL_FLUSH 3 184 #define Z_STREAM_END 1 185 #define Z_NEED_DICT 2 187 #define Z_STREAM_ERROR (-2) 188 #define Z_DATA_ERROR (-3) 189 #define Z_MEM_ERROR (-4) 190 #define Z_BUF_ERROR (-5) 191 #define Z_VERSION_ERROR (-6) 196 #define Z_NO_COMPRESSION 0 197 #define Z_BEST_SPEED 1 198 #define Z_BEST_COMPRESSION 9 199 #define Z_DEFAULT_COMPRESSION (-1) 203 #define Z_HUFFMAN_ONLY 2 206 #define Z_DEFAULT_STRATEGY 0 211 #define Z_ASCII Z_TEXT 220 #define zlib_version zlibVersion() 256 int deflate (z_streamp strm,
int flush);
402 int inflate (z_streamp strm,
int flush);
598 const Bytef *dictionary,
830 const Bytef *dictionary,
1035 typedef unsigned (*in_func) (
void FAR *,
1037 typedef int (*out_func) (
void FAR *,
unsigned char FAR *, unsigned);
1040 in_func
in,
void FAR *in_desc,
1041 out_func
out,
void FAR *out_desc);
1648 int windowBits,
int memLevel,
1649 int strategy,
const char *
version,
1657 #define deflateInit(strm, level) \ 1658 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream)) 1659 #define inflateInit(strm) \ 1660 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream)) 1661 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1662 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1663 (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) 1664 #define inflateInit2(strm, windowBits) \ 1665 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \ 1666 (int)sizeof(z_stream)) 1667 #define inflateBackInit(strm, windowBits, window) \ 1668 inflateBackInit_((strm), (windowBits), (window), \ 1669 ZLIB_VERSION, (int)sizeof(z_stream)) 1683 # define z_gzgetc(g) \ 1684 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) 1686 # define gzgetc(g) \ 1687 ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) 1697 gzFile
gzopen64 (
const char *,
const char *);
1705 #if !defined(ZLIB_INTERNAL) && defined(Z_WANT64) 1706 # ifdef Z_PREFIX_SET 1707 # define z_gzopen z_gzopen64 1708 # define z_gzseek z_gzseek64 1709 # define z_gztell z_gztell64 1710 # define z_gzoffset z_gzoffset64 1711 # define z_adler32_combine z_adler32_combine64 1712 # define z_crc32_combine z_crc32_combine64 1714 # define gzopen gzopen64 1715 # define gzseek gzseek64 1716 # define gztell gztell64 1717 # define gzoffset gzoffset64 1718 # define adler32_combine adler32_combine64 1719 # define crc32_combine crc32_combine64 1722 gzFile
gzopen64 (
const char *,
const char *);
1730 gzFile
gzopen (
const char *,
const char *);
1746 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL) 1747 struct internal_state {
int dummy;};
1751 const char *
zError (
int);
1758 #if defined(_WIN32) && !defined(Z_SOLO) 1759 gzFile gzopen_w (
const wchar_t *
path,
1762 #if defined(STDC) || defined(Z_HAVE_STDARG_H) int gzflush(gzFile file, int flush)
Definition: gzwrite.c:445
int deflatePending(z_streamp strm, unsigned *pending, int *bits)
Definition: deflate.c:436
GLuint const GLchar * name
Definition: glext.h:6671
gzFile gzopen(const char *path, const char *mode)
Definition: gzlib.c:267
Byte FAR Bytef
Definition: zconf.h:340
uLong FAR uLongf
Definition: zconf.h:345
uLong compressBound(uLong sourceLen)
Definition: compress.c:66
int gzsetparams(gzFile file, int level, int strategy)
Definition: gzwrite.c:474
GLenum mode
Definition: glext.h:6857
int gzungetc(int c, gzFile file)
Definition: gzread.c:408
int gzeof(gzFile file)
Definition: gzlib.c:475
#define z_const
Definition: zconf.h:224
z_off64_t gzoffset64(gzFile file)
Definition: gzlib.c:448
const char * zError(int err)
Definition: zutil.c:131
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
int inflateSync(z_streamp strm)
Definition: inflate.c:1359
Byte * voidp
Definition: zconf.h:354
uLong deflateBound(z_streamp strm, uLong sourceLen)
Definition: deflate.c:539
int deflateInit_(z_streamp strm, int level, const char *version, int stream_size)
Definition: deflate.c:204
long inflateMark(z_streamp strm)
Definition: inflate.c:1479
GLuint address
Definition: glext.h:10300
z_off_t gzseek(gzFile file, z_off_t offset, int whence)
Definition: gzlib.c:417
GLsizei const GLchar ** path
Definition: glext.h:7901
GLenum GLsizei len
Definition: glext.h:7389
z_off64_t gzseek64(gzFile file, z_off64_t offset, int whence)
Definition: gzlib.c:344
GLsizeiptr size
Definition: glext.h:6559
uint32_t adler32(uint32_t adler, const uint8_t *buf, size_t len)
Definition: adler32.c:49
GLdouble s
Definition: glext.h:6390
struct passwd out
Definition: missing_libc_functions.c:51
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
int inflateSyncPoint(z_streamp strm)
Definition: inflate.c:1409
int inflateGetHeader(z_streamp strm, gz_headerp head)
Definition: inflate.c:1313
gzFile gzopen64(const char *path, const char *mode)
Definition: gzlib.c:272
int inflateCopy(z_streamp dest, z_streamp source)
Definition: inflate.c:1418
int inflateResetKeep(z_streamp strm)
Definition: inflate.c:117
const GLubyte * c
Definition: glext.h:9812
int gzputs(gzFile file, const char *str)
Definition: gzwrite.c:282
int dummy
Definition: lstrlib.c:1125
int inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
Definition: infback.c:28
Byte FAR * voidpf
Definition: zconf.h:353
int deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
Definition: deflate.c:212
int inflateEnd(z_streamp strm)
Definition: inflate.c:1248
int gzgetc(gzFile file)
Definition: gzread.c:375
int gzclose(gzFile file)
Definition: gzclose.c:14
z_off_t gztell(gzFile file)
Definition: gzlib.c:440
uLong zlibCompileFlags(void)
Definition: zutil.c:31
int inflate(z_streamp strm, int flush)
Definition: inflate.c:601
int inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
Definition: infback.c:244
version
Definition: setup.py:6
int inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size)
Definition: inflate.c:190
Byte const * voidpc
Definition: zconf.h:352
GLint level
Definition: glext.h:6293
char * gzgets(gzFile file, char *buf, int len)
Definition: gzread.c:465
char reserved[128]
Definition: scefiber.c:17
const char * gzerror(gzFile file, int *errnum)
Definition: gzlib.c:490
static const unsigned char msg[]
Definition: ccm.c:375
z_off_t gzoffset(gzFile file)
Definition: gzlib.c:469
int compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
Definition: compress.c:22
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
time_t time(time_t *timer)
const uint32_t * get_crc_table(void)
Definition: libz-crc32.c:85
GLuint in
Definition: glext.h:10523
gzFile gzdopen(int fd, const char *mode)
Definition: gzlib.c:277
int deflateCopy(z_streamp dest, z_streamp source)
Definition: deflate.c:981
void gzclearerr(gzFile file)
Definition: gzlib.c:508
int inflateUndermine(z_streamp strm, int subvert)
Definition: inflate.c:1463
const char * zlibVersion(void)
Definition: zutil.c:26
int gzbuffer(gzFile file, unsigned size)
Definition: gzlib.c:301
#define stream_size
Definition: ps3_defines.h:295
int inflatePrime(z_streamp strm, int bits, int value)
Definition: inflate.c:233
#define z_off_t
Definition: zconf.h:444
int deflatePrime(z_streamp strm, int bits, int value)
Definition: deflate.c:448
int inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: inflate.c:1281
int deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Definition: deflate.c:314
int inflateBackEnd(z_streamp strm)
Definition: infback.c:620
int deflateResetKeep(z_streamp strm)
Definition: deflate.c:380
int inflateInit_(z_streamp strm, const char *version, int stream_size)
Definition: inflate.c:228
#define free_func
Definition: ps3_defines.h:288
GLsizei GLsizei GLchar * source
Definition: glext.h:6688
int gzgetc_(gzFile file)
Definition: gzread.c:403
int uncompress(unsigned char *dest, uint32_t *destLen, const unsigned char *source, uint32_t sourceLen)
Definition: uncompr.c:24
int deflateReset(z_streamp strm)
Definition: deflate.c:414
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
Definition: glext.h:11836
int deflateParams(z_streamp strm, int level, int strategy)
Definition: deflate.c:471
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
int gzclose_r(gzFile file)
Definition: gzread.c:543
int gzvprintf(gzFile file, const char *format, va_list va)
int gzclose_w(gzFile file)
Definition: gzwrite.c:512
int deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain)
Definition: deflate.c:509
int gzdirect(gzFile file)
Definition: gzread.c:525
z_off64_t gztell64(gzFile file)
Definition: gzlib.c:425
int deflateSetHeader(z_streamp strm, gz_headerp head)
Definition: deflate.c:425
unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len)
Definition: libz-crc32.c:70
#define FAR
Definition: zconf.h:327
#define Z_ARG(args)
Definition: zconf.h:277
GLsizei const GLfloat * value
Definition: glext.h:6709
int compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.c:57
unsigned int uInt
Definition: zconf.h:333
vu8 head
Definition: keyboard.c:426
int deflate(z_streamp strm, int flush)
Definition: deflate.c:633
int gzrewind(gzFile file)
Definition: gzlib.c:323
int gzread(gzFile file, voidp buf, unsigned len)
Definition: gzread.c:279
Definition: civetweb.c:1024
unsigned long uLong
Definition: zconf.h:334
int gzwrite(gzFile file, voidpc buf, unsigned len)
Definition: gzwrite.c:161
int deflateEnd(z_streamp strm)
Definition: deflate.c:945
int inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength)
Definition: inflate.c:1261
int inflateReset2(z_streamp strm, int windowBits)
Definition: inflate.c:153
#define z_off64_t
Definition: gzguts.h:138
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
int inflateReset(z_streamp strm)
Definition: inflate.c:141
int 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)
Definition: gzwrite.c:371
int gzputc(gzFile file, int c)
Definition: gzwrite.c:237