zlib.h File Reference

(r1785/r751)

#include "zconf.h"

Go to the source code of this file.

Classes

struct  z_stream_s
struct  internal_state

Defines

#define ZLIB_VERSION   "1.2.2"
#define ZLIB_VERNUM   0x1220
#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_BLOCK   5
#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_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_RLE   3
#define Z_DEFAULT_STRATEGY   0
#define Z_BINARY   0
#define Z_ASCII   1
#define Z_UNKNOWN   2
#define Z_DEFLATED   8
#define Z_NULL   0
#define zlib_version   zlibVersion()
#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))
#define inflateBackInit(strm, windowBits, window)

Typedefs

typedef voidpf(* alloc_func )()
typedef void(* free_func )()
typedef z_stream_s z_stream
typedef z_streamz_streamp
typedef unsigned(* in_func )()
typedef INT32(* out_func )()
typedef voidp gzFile

Functions

char * zlibVersion ()
INT32 deflate ()
INT32 deflateEnd ()
INT32 inflate ()
INT32 inflateEnd ()
INT32 deflateSetDictionary ()
INT32 deflateCopy ()
INT32 deflateReset ()
INT32 deflateParams ()
uLong deflateBound ()
INT32 deflatePrime ()
INT32 inflateSetDictionary ()
INT32 inflateSync ()
INT32 inflateCopy ()
INT32 inflateReset ()
INT32 inflateBack ()
INT32 inflateBackEnd ()
uLong zlibCompileFlags ()
INT32 compress ()
INT32 compress2 ()
uLong compressBound ()
INT32 uncompress ()
gzFile gzopen ()
gzFile gzdopen ()
INT32 gzsetparams ()
INT32 gzread ()
INT32 gzwrite ()
INT32 gzprintf ()
INT32 gzputs ()
char * gzgets ()
INT32 gzputc ()
INT32 gzgetc ()
INT32 gzungetc ()
INT32 gzflush ()
INT32 gzseek ()
INT32 gzrewind ()
INT32 gztell ()
INT32 gzeof ()
INT32 gzclose ()
char * gzerror ()
void gzclearerr ()
uLong adler32 ()
uLong crc32 ()
INT32 deflateInit_ ()
INT32 inflateInit_ ()
INT32 deflateInit2_ ()
INT32 inflateInit2_ ()
INT32 inflateBackInit_ ()
char * zError ()
INT32 inflateSyncPoint ()
uLongfget_crc_table ()


Define Documentation

#define deflateInit strm,
level   )     deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
 

Definition at line 1179 of file zlib.h.

#define deflateInit2 strm,
level,
method,
windowBits,
memLevel,
strategy   ) 
 

Value:

deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
                      (strategy),           ZLIB_VERSION, sizeof(z_stream))

Definition at line 1183 of file zlib.h.

#define inflateBackInit strm,
windowBits,
window   ) 
 

Value:

inflateBackInit_((strm), (windowBits), (window), \
        ZLIB_VERSION, sizeof(z_stream))

Definition at line 1188 of file zlib.h.

#define inflateInit strm   )     inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
 

Definition at line 1181 of file zlib.h.

#define inflateInit2 strm,
windowBits   )     inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
 

Definition at line 1186 of file zlib.h.

#define Z_ASCII   1
 

Definition at line 178 of file zlib.h.

#define Z_BEST_COMPRESSION   9
 

Definition at line 167 of file zlib.h.

#define Z_BEST_SPEED   1
 

Definition at line 166 of file zlib.h.

#define Z_BINARY   0
 

Definition at line 177 of file zlib.h.

#define Z_BLOCK   5
 

Definition at line 149 of file zlib.h.

#define Z_BUF_ERROR   (-5)
 

Definition at line 159 of file zlib.h.

#define Z_DATA_ERROR   (-3)
 

Definition at line 157 of file zlib.h.

#define Z_DEFAULT_COMPRESSION   (-1)
 

Definition at line 168 of file zlib.h.

#define Z_DEFAULT_STRATEGY   0
 

Definition at line 174 of file zlib.h.

#define Z_DEFLATED   8
 

Definition at line 182 of file zlib.h.

#define Z_ERRNO   (-1)
 

Definition at line 155 of file zlib.h.

#define Z_FILTERED   1
 

Definition at line 171 of file zlib.h.

#define Z_FINISH   4
 

Definition at line 148 of file zlib.h.

#define Z_FULL_FLUSH   3
 

Definition at line 147 of file zlib.h.

#define Z_HUFFMAN_ONLY   2
 

Definition at line 172 of file zlib.h.

#define Z_MEM_ERROR   (-4)
 

Definition at line 158 of file zlib.h.

#define Z_NEED_DICT   2
 

Definition at line 154 of file zlib.h.

#define Z_NO_COMPRESSION   0
 

Definition at line 165 of file zlib.h.

#define Z_NO_FLUSH   0
 

Definition at line 144 of file zlib.h.

#define Z_NULL   0
 

Definition at line 185 of file zlib.h.

#define Z_OK   0
 

Definition at line 152 of file zlib.h.

#define Z_PARTIAL_FLUSH   1
 

Definition at line 145 of file zlib.h.

#define Z_RLE   3
 

Definition at line 173 of file zlib.h.

#define Z_STREAM_END   1
 

Definition at line 153 of file zlib.h.

#define Z_STREAM_ERROR   (-2)
 

Definition at line 156 of file zlib.h.

#define Z_SYNC_FLUSH   2
 

Definition at line 146 of file zlib.h.

#define Z_UNKNOWN   2
 

Definition at line 179 of file zlib.h.

#define Z_VERSION_ERROR   (-6)
 

Definition at line 160 of file zlib.h.

#define ZLIB_VERNUM   0x1220
 

Definition at line 46 of file zlib.h.

#define zlib_version   zlibVersion()
 

Definition at line 187 of file zlib.h.

#define ZLIB_VERSION   "1.2.2"
 

Definition at line 45 of file zlib.h.


Typedef Documentation

typedef voidpf(* alloc_func)()
 

Definition at line 82 of file zlib.h.

typedef void(* free_func)()
 

Definition at line 83 of file zlib.h.

typedef voidp gzFile
 

Definition at line 938 of file zlib.h.

typedef unsigned(* in_func)()
 

Definition at line 749 of file zlib.h.

typedef INT32(* out_func)()
 

Definition at line 750 of file zlib.h.

typedef struct z_stream_s z_stream
 

typedef z_stream* z_streamp
 

Definition at line 108 of file zlib.h.


Function Documentation

uLong adler32  ) 
 

INT32 compress  ) 
 

INT32 compress2  ) 
 

uLong compressBound  ) 
 

uLong crc32  ) 
 

INT32 deflate  ) 
 

uLong deflateBound  ) 
 

INT32 deflateCopy  ) 
 

INT32 deflateEnd  ) 
 

INT32 deflateInit2_  ) 
 

INT32 deflateInit_  ) 
 

INT32 deflateParams  ) 
 

INT32 deflatePrime  ) 
 

INT32 deflateReset  ) 
 

INT32 deflateSetDictionary  ) 
 

uLongf* get_crc_table  ) 
 

void gzclearerr  ) 
 

INT32 gzclose  ) 
 

gzFile gzdopen  ) 
 

INT32 gzeof  ) 
 

char* gzerror  ) 
 

INT32 gzflush  ) 
 

INT32 gzgetc  ) 
 

char* gzgets  ) 
 

gzFile gzopen  ) 
 

INT32 gzprintf  ) 
 

INT32 gzputc  ) 
 

INT32 gzputs  ) 
 

INT32 gzread  ) 
 

INT32 gzrewind  ) 
 

INT32 gzseek  ) 
 

INT32 gzsetparams  ) 
 

INT32 gztell  ) 
 

INT32 gzungetc  ) 
 

INT32 gzwrite  ) 
 

INT32 inflate  ) 
 

INT32 inflateBack  ) 
 

INT32 inflateBackEnd  ) 
 

INT32 inflateBackInit_  ) 
 

INT32 inflateCopy  ) 
 

INT32 inflateEnd  ) 
 

INT32 inflateInit2_  ) 
 

INT32 inflateInit_  ) 
 

INT32 inflateReset  ) 
 

INT32 inflateSetDictionary  ) 
 

INT32 inflateSync  ) 
 

INT32 inflateSyncPoint  ) 
 

INT32 uncompress  ) 
 

char* zError  ) 
 

uLong zlibCompileFlags  ) 
 

char* zlibVersion  ) 
 


Generated on Sat Nov 10 03:49:25 2007 for Camelot by  doxygen 1.4.4