pngcrush  1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
  Fossies Dox: pngcrush-1.8.13.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

zutil.c File Reference
#include "zutil.h"
#include "gzguts.h"
Include dependency graph for zutil.c:

Go to the source code of this file.


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


char * z_errmsg [10]

Function Documentation

◆ calloc()

voidp calloc ( )

Referenced by zcalloc().

◆ free()

void free ( )

Referenced by zcfree().

◆ malloc()

voidp malloc ( )

Referenced by zcalloc().

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 

Definition at line 305 of file zutil.c.

References calloc(), and malloc().

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

◆ zcfree()

void zcfree ( voidpf  opaque,
voidpf  ptr 

Definition at line 315 of file zutil.c.

References free().

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

◆ zError()

char* zError ( int  err)

Definition at line 133 of file zutil.c.

References ERR_MSG.

◆ zlibCompileFlags()

uLong zlibCompileFlags ( )

Definition at line 32 of file zutil.c.

References z_off_t.

◆ zlibVersion()

char* zlibVersion ( )

Definition at line 27 of file zutil.c.

References ZLIB_VERSION.

◆ zmemcmp()

int zmemcmp ( Bytef s1,
Bytef s2,
uInt  len 

Definition at line 160 of file zutil.c.

◆ zmemcpy()

◆ zmemzero()

void zmemzero ( Bytef dest,
uInt  len 

Definition at line 173 of file zutil.c.

Referenced by fill_window().

Variable Documentation

◆ z_errmsg

char* z_errmsg[10]
Initial value:
= {
( char *)"need dictionary",
( char *)"stream end",
( char *)"",
( char *)"file error",
( char *)"stream error",
( char *)"data error",
( char *)"insufficient memory",
( char *)"buffer error",
( char *)"incompatible version",
( char *)""

Definition at line 13 of file zutil.c.