Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

zutil.c File Reference

#include "zutil.h"

Go to the source code of this file.

Classes

struct  internal_state

Functions

const char *ZEXPORT zlibVersion ()
uLong ZEXPORT zlibCompileFlags ()
const char *ZEXPORT zError (int err)
void zmemcpy (Bytef *dest, const Bytef *source, uInt len)
int zmemcmp (Bytef *s1, const Bytef *s2, uInt len) const
void zmemzero (Bytef *dest, uInt len)
voidp malloc OF ((uInt size))
voidp calloc OF ((uInt items, uInt size))
void free OF ((voidpf ptr))
voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
void zcfree (voidpf opaque, voidpf ptr)

Variables

const char *const z_errmsg [10]


Function Documentation

void free OF (voidpf ptr)   ) 
 

voidp calloc OF (uInt items, uInt size)   ) 
 

voidp malloc OF (uInt size)   ) 
 

voidpf zcalloc voidpf  opaque,
unsigned  items,
unsigned  size
 

Definition at line 300 of file zutil.c.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

void zcfree voidpf  opaque,
voidpf  ptr
 

Definition at line 310 of file zutil.c.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

const char* ZEXPORT zError int  err  ) 
 

Definition at line 133 of file zutil.c.

References ERR_MSG.

uLong ZEXPORT zlibCompileFlags  ) 
 

Definition at line 32 of file zutil.c.

References z_off_t.

const char* ZEXPORT zlibVersion  ) 
 

Definition at line 27 of file zutil.c.

References ZLIB_VERSION.

int zmemcmp Bytef s1,
const Bytef s2,
uInt  len
const
 

Definition at line 160 of file zutil.c.

void zmemcpy Bytef dest,
const Bytef source,
uInt  len
 

Definition at line 149 of file zutil.c.

Referenced by deflateCopy(), deflateSetDictionary(), fill_window(), flush_pending(), inflateBack(), inflateCopy(), inflateSetDictionary(), read_buf(), and updatewindow().

void zmemzero Bytef dest,
uInt  len
 

Definition at line 173 of file zutil.c.


Variable Documentation

const char* const z_errmsg[10]
 

Initial value:

 {
"need dictionary",     
"stream end",          
"",                    
"file error",          
"stream error",        
"data error",          
"insufficient memory", 
"buffer error",        
"incompatible version",
""}

Definition at line 14 of file zutil.c.


Generated on Thu Dec 15 10:40:01 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2