19 #define ZLIB_VERSION "1.2.3" 20 #define ZLIB_VERNUM 0x1230 144 #define Z_PARTIAL_FLUSH 1 145 #define Z_SYNC_FLUSH 2 146 #define Z_FULL_FLUSH 3 152 #define Z_STREAM_END 1 153 #define Z_NEED_DICT 2 155 #define Z_STREAM_ERROR (-2) 156 #define Z_DATA_ERROR (-3) 157 #define Z_MEM_ERROR (-4) 158 #define Z_BUF_ERROR (-5) 159 #define Z_VERSION_ERROR (-6) 164 #define Z_NO_COMPRESSION 0 165 #define Z_BEST_SPEED 1 166 #define Z_BEST_COMPRESSION 9 167 #define Z_DEFAULT_COMPRESSION (-1) 171 #define Z_HUFFMAN_ONLY 2 174 #define Z_DEFAULT_STRATEGY 0 179 #define Z_ASCII Z_TEXT 188 #define zlib_version zlibVersion() 601 OF((
z_streamp strm,
int good_length,
int max_lazy,
int nice_length,
839 typedef unsigned(*in_func)
OF((
void FAR*,
unsigned char FAR*
FAR*));
840 typedef int(*out_func)
OF((
void FAR*,
unsigned char FAR*,
unsigned));
844 void FAR* out_desc));
1277 OF((
z_streamp strm,
const char* version,
int stream_size));
1280 int strategy,
const char* version,
int stream_size));
1282 OF((
z_streamp strm,
int windowBits,
const char* version,
int stream_size));
1285 const char* version,
int stream_size));
1286 #define deflateInit(strm, level) \ 1287 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream)) 1288 #define inflateInit(strm) inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream)) 1289 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ 1291 (strm), (level), (method), (windowBits), (memLevel), (strategy), \ 1292 ZLIB_VERSION, sizeof(z_stream)) 1293 #define inflateInit2(strm, windowBits) \ 1294 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream)) 1295 #define inflateBackInit(strm, windowBits, window) \ 1297 (strm), (windowBits), (window), ZLIB_VERSION, sizeof(z_stream)) 1299 #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.