19 #define ZLIB_VERSION "1.2.3" 20 #define ZLIB_VERNUM 0x1230 142 #define Z_PARTIAL_FLUSH 1 143 #define Z_SYNC_FLUSH 2 144 #define Z_FULL_FLUSH 3 150 #define Z_STREAM_END 1 151 #define Z_NEED_DICT 2 153 #define Z_STREAM_ERROR (-2) 154 #define Z_DATA_ERROR (-3) 155 #define Z_MEM_ERROR (-4) 156 #define Z_BUF_ERROR (-5) 157 #define Z_VERSION_ERROR (-6) 162 #define Z_NO_COMPRESSION 0 163 #define Z_BEST_SPEED 1 164 #define Z_BEST_COMPRESSION 9 165 #define Z_DEFAULT_COMPRESSION (-1) 169 #define Z_HUFFMAN_ONLY 2 172 #define Z_DEFAULT_STRATEGY 0 177 #define Z_ASCII Z_TEXT 186 #define zlib_version zlibVersion() 518 const Bytef *dictionary,
716 const Bytef *dictionary,
856 typedef unsigned (*in_func)
OF((
void FAR *,
unsigned char FAR *
FAR *));
857 typedef int (*out_func)
OF((
void FAR *,
unsigned char FAR *,
unsigned));
860 in_func
in,
void FAR *in_desc,
861 out_func out,
void FAR *out_desc));
1297 const char *
version,
int stream_size));
1299 const char *
version,
int stream_size));
1301 int windowBits,
int memLevel,
1302 int strategy,
const char *
version,
1305 const char *
version,
int stream_size));
1307 unsigned char FAR *window,
1310 #define deflateInit(strm, level) \ 1311 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream)) 1312 #define inflateInit(strm) \ 1313 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream)) 1314 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1315 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\ 1316 (strategy), ZLIB_VERSION, sizeof(z_stream)) 1317 #define inflateInit2(strm, windowBits) \ 1318 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream)) 1319 #define inflateBackInit(strm, windowBits, window) \ 1320 inflateBackInit_((strm), (windowBits), (window), \ 1321 ZLIB_VERSION, sizeof(z_stream)) 1324 #if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
struct gz_header_s gz_header
gz_header FAR * gz_headerp
struct internal_state FAR * state
GLsizei GLsizei GLchar * source
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLenum GLsizei GLenum format
GLsizei const GLfloat * value
void BASE_IMPEXP compress(void *inData, size_t inDataSize, std::vector< unsigned char > &outData)
Compress an array of bytes into another one.
struct z_stream_s z_stream