w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" 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.

Functions

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)
 

Variables

char * z_errmsg [10]
 

Function Documentation

◆ calloc()

voidp calloc ( )

◆ free()

void free ( )

◆ malloc()

voidp malloc ( )

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)

Definition at line 305 of file zutil.c.

References calloc(), items, malloc(), size, uInt, and void.

◆ zcfree()

void zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 315 of file zutil.c.

References free(), ptr, and void.

◆ zError()

char* zError ( int  err)

Definition at line 133 of file zutil.c.

References err, and ERR_MSG.

◆ zlibCompileFlags()

uLong zlibCompileFlags ( )

Definition at line 32 of file zutil.c.

References flags, and z_off_t.

◆ zlibVersion()

char* zlibVersion ( )

Definition at line 27 of file zutil.c.

References ZLIB_VERSION.

Referenced by luaopen_zlib(), lzlib_version(), and print_version().

◆ zmemcmp()

int zmemcmp ( Bytef s1,
Bytef s2,
uInt  len 
)

Definition at line 160 of file zutil.c.

References j, len, s1, and s2.

◆ zmemcpy()

void zmemcpy ( Bytef dest,
Bytef source,
uInt  len 
)

Definition at line 149 of file zutil.c.

References dest, and len.

◆ zmemzero()

void zmemzero ( Bytef dest,
uInt  len 
)

Definition at line 173 of file zutil.c.

References dest, and len.

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.