zlibdll.h File Reference

zlibdll.h File Reference
+ This reference page is linked to from the following overview topics:

#include "maxheap.h"
#include "strbasic.h"

Classes

struct  z_stream_s
 

Macros

#define ZLIB_VERSION   "1.0.4"
 
#define USE_ISTREAMS
 
#define Z_NO_FLUSH   0
 
#define Z_PARTIAL_FLUSH   1
 
#define Z_SYNC_FLUSH   2
 
#define Z_FULL_FLUSH   3
 
#define Z_FINISH   4
 
#define Z_OK   0
 
#define Z_STREAM_END   1
 
#define Z_NEED_DICT   2
 
#define Z_ERRNO   (-1)
 
#define Z_STREAM_ERROR   (-2)
 
#define Z_DATA_ERROR   (-3)
 
#define Z_MEM_ERROR   (-4)
 
#define Z_BUF_ERROR   (-5)
 
#define Z_VERSION_ERROR   (-6)
 
#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */
 
#define Z_NO_COMPRESSION   0
 
#define Z_BEST_SPEED   1
 
#define Z_BEST_COMPRESSION   9
 
#define Z_DEFAULT_COMPRESSION   (-1)
 
#define Z_FILTERED   1
 
#define Z_HUFFMAN_ONLY   2
 
#define Z_DEFAULT_STRATEGY   0
 
#define gzopen   gzopenA
 
#define deflateInit(strm, level)   deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
 
#define inflateInit(strm)   inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
 
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)
 
#define inflateInit2(strm, windowBits)   inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
 

Typedefs

typedef unsigned char Byte
 
typedef unsigned int uInt
 
typedef unsigned long uLong
 
typedef unsigned long uLong32
 
typedef voidvoidpf
 
typedef voidvoidp
 
typedef voidpf(* alloc_func )(voidpf opaque, uInt items, uInt size)
 
typedef void(* free_func )(voidpf opaque, voidpf address)
 
typedef Byte Bytef
 
typedef char charf
 
typedef int intf
 
typedef uInt uIntf
 
typedef uLong uLongf
 
typedef uLong32 uLong32f
 
typedef z_stream_s z_stream
 
typedef z_streamz_streamp
 
typedef wchar_t WCHAR
 

Functions

const char * zlibVersion (void)
 
int deflate (z_streamp strm, int flush)
 
int deflateEnd (z_streamp strm)
 
int inflateInit (z_streamp strm)
 
int inflate (z_streamp strm, int flush)
 
int inflateEnd (z_streamp strm)
 
int deflateInit2 (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy)
 

Macro Definition Documentation

#define ZLIB_VERSION   "1.0.4"
#define USE_ISTREAMS
#define Z_NO_FLUSH   0
#define Z_PARTIAL_FLUSH   1
#define Z_SYNC_FLUSH   2
#define Z_FULL_FLUSH   3
#define Z_FINISH   4
#define Z_OK   0
#define Z_STREAM_END   1
#define Z_NEED_DICT   2
#define Z_ERRNO   (-1)
#define Z_STREAM_ERROR   (-2)
#define Z_DATA_ERROR   (-3)
#define Z_MEM_ERROR   (-4)
#define Z_BUF_ERROR   (-5)
#define Z_VERSION_ERROR   (-6)
#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */
#define Z_NO_COMPRESSION   0
#define Z_BEST_SPEED   1
#define Z_BEST_COMPRESSION   9
#define Z_DEFAULT_COMPRESSION   (-1)
#define Z_FILTERED   1
#define Z_HUFFMAN_ONLY   2
#define Z_DEFAULT_STRATEGY   0
#define gzopen   gzopenA
#define deflateInit (   strm,
  level 
)    deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
#define inflateInit (   strm)    inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
#define deflateInit2 (   strm,
  level,
  method,
  windowBits,
  memLevel,
  strategy 
)
Value:
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
(strategy), ZLIB_VERSION, sizeof(z_stream))
int level
Definition: hashtable.h:63
#define ZLIB_VERSION
Definition: zlibdll.h:40
Definition: zlibdll.h:112
#define inflateInit2 (   strm,
  windowBits 
)    inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))

Typedef Documentation

typedef unsigned char Byte
typedef unsigned int uInt
typedef unsigned long uLong
typedef unsigned long uLong32
typedef void* voidpf
typedef void* voidp
typedef voidpf(* alloc_func)(voidpf opaque, uInt items, uInt size)
typedef void(* free_func)(voidpf opaque, voidpf address)
typedef Byte Bytef
typedef char charf
typedef int intf
typedef uInt uIntf
typedef uLong uLongf
typedef uLong32 uLong32f
typedef z_stream* z_streamp
typedef wchar_t WCHAR

Function Documentation

const char* zlibVersion ( void  )
int deflate ( z_streamp  strm,
int  flush 
)
int deflateEnd ( z_streamp  strm)
int inflateInit ( z_streamp  strm)
int inflate ( z_streamp  strm,
int  flush 
)
int inflateEnd ( z_streamp  strm)
int deflateInit2 ( z_streamp  strm,
int  level,
int  method,
int  windowBits,
int  memLevel,
int  strategy 
)