LMMS
Loading...
Searching...
No Matches
zutil.c File Reference
#include "zutil.h"

Classes

struct  internal_state

Functions

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

◆ OF() [1/3]

voidp calloc OF ( (uInt items, uInt size) )
extern

◆ OF() [2/3]

voidp malloc OF ( (uInt size) )
extern

◆ OF() [3/3]

void free OF ( (voidpf ptr) )
extern

◆ zcalloc()

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

◆ zcfree()

void zcfree ( voidpf opaque,
voidpf ptr )

◆ zError()

const char *ZEXPORT zError ( int err)

◆ zmemcmp()

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

◆ zmemcpy()

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

◆ zmemzero()

void zmemzero ( Bytef* dest,
uInt len )

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",
""}