TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Functions | Variables
zutil.c File Reference
#include "zutil.h"
#include "gzguts.h"

Go to the source code of this file.

Functions

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

Variables

z_const char *const z_errmsg [10]
 

Function Documentation

voidp calloc ( uInt  items,
uInt  size 
)
void free ( voidpf  ptr)

Referenced by zcfree().

voidp malloc ( uInt  size)

Referenced by zcalloc().

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

Definition at line 286 of file zutil.c.

References calloc(), and malloc().

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

void ZLIB_INTERNAL zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 292 of file zutil.c.

References free().

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

const char* ZEXPORT zError ( int  err)

Definition at line 131 of file zutil.c.

References ERR_MSG.

uLong ZEXPORT zlibCompileFlags ( void  )

Definition at line 31 of file zutil.c.

References z_off_t.

const char* ZEXPORT zlibVersion ( void  )

Definition at line 27 of file zutil.c.

References ZLIB_VERSION.

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

Definition at line 152 of file zutil.c.

void ZLIB_INTERNAL zmemcpy ( Bytef dest,
const Bytef source,
uInt  len 
)
void ZLIB_INTERNAL zmemzero ( Bytef dest,
uInt  len 
)

Definition at line 161 of file zutil.c.

Referenced by fill_window().

Variable Documentation

z_const char* const z_errmsg[10]
Initial value:
= {
(z_const char *)"need dictionary",
(z_const char *)"stream end",
(z_const char *)"",
(z_const char *)"file error",
(z_const char *)"stream error",
(z_const char *)"data error",
(z_const char *)"insufficient memory",
(z_const char *)"buffer error",
(z_const char *)"incompatible version",
(z_const char *)""
}
#define z_const
Definition: zconf.h:240

Definition at line 13 of file zutil.c.