libgpac
Documentation of the core library of GPAC
zutil.c File Reference
#include "zutil.h"
#include <gpac/setup.h>
+ Include dependency graph for zutil.c:

Data Structures

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 gf_malloc OF ((uInt size))
 
voidp gf_calloc OF ((uInt items, uInt size))
 
void free OF ((voidpf ptr))
 
voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
 
void zcgf_free (voidpf opaque, voidpf ptr)
 

Variables

const char *const z_errmsg [10]
 

Data Structure Documentation

◆ internal_state

struct internal_state
Data Fields
int dummy

Function Documentation

◆ zlibVersion()

const char* ZEXPORT zlibVersion ( )

◆ zlibCompileFlags()

uLong ZEXPORT zlibCompileFlags ( )

◆ zError()

const char* ZEXPORT zError ( int  err)
+ Here is the caller graph for this function:

◆ zmemcpy()

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

◆ zmemcmp()

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

◆ zmemzero()

void zmemzero ( Bytef*  dest,
uInt  len 
)
+ Here is the caller graph for this function:

◆ OF() [1/3]

voidp gf_malloc OF ( (uInt size)  )

◆ OF() [2/3]

voidp gf_calloc OF ( (uInt items, uInt size)  )

◆ OF() [3/3]

void free OF ( (voidpf ptr)  )

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)
+ Here is the call graph for this function:

◆ zcgf_free()

void zcgf_free ( voidpf  opaque,
voidpf  ptr 
)
+ Here is the call graph for this function:

Variable Documentation

◆ z_errmsg

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