19 #define ZLIB_VERSION "1.2.3" 20 #define ZLIB_VERNUM 0x1230 148 #define Z_PARTIAL_FLUSH 1 149 #define Z_SYNC_FLUSH 2 150 #define Z_FULL_FLUSH 3 156 #define Z_STREAM_END 1 157 #define Z_NEED_DICT 2 159 #define Z_STREAM_ERROR (-2) 160 #define Z_DATA_ERROR (-3) 161 #define Z_MEM_ERROR (-4) 162 #define Z_BUF_ERROR (-5) 163 #define Z_VERSION_ERROR (-6) 169 #define Z_NO_COMPRESSION 0 170 #define Z_BEST_SPEED 1 171 #define Z_BEST_COMPRESSION 9 172 #define Z_DEFAULT_COMPRESSION (-1) 176 #define Z_HUFFMAN_ONLY 2 179 #define Z_DEFAULT_STRATEGY 0 184 #define Z_ASCII Z_TEXT 194 #define zlib_version zlibVersion() 614 OF((
z_streamp strm,
int good_length,
int max_lazy,
int nice_length,
857 typedef unsigned(*in_func)
OF((
void FAR*,
unsigned char FAR*
FAR*));
858 typedef int(*out_func)
OF((
void FAR*,
unsigned char FAR*,
unsigned));
862 void FAR* out_desc));
1302 OF((
z_streamp strm,
const char* version,
int stream_size));
1305 int strategy,
const char* version,
int stream_size));
1307 (
z_streamp strm,
int windowBits,
const char* version,
int stream_size));
1310 const char* version,
int stream_size));
1311 #define deflateInit(strm, level) \ 1312 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream)) 1313 #define inflateInit(strm) inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream)) 1314 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1316 (strm), (level), (method), (windowBits), (memLevel), (strategy), \ 1317 ZLIB_VERSION, sizeof(z_stream)) 1318 #define inflateInit2(strm, windowBits) \ 1319 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream)) 1320 #define inflateBackInit(strm, windowBits, window) \ 1322 (strm), (windowBits), (window), 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
struct z_stream_s z_stream
void compress(void *inData, size_t inDataSize, std::vector< unsigned char > &outData)
Compress an array of bytes into another one.