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

Go to the source code of this file.

Macros

#define LSEEK   lseek
 

Functions

local void gz_reset (gz_statep state)
 
local gzFile gz_open (const void *path, int fd, const char *mode)
 
gzFile ZEXPORT gzopen (const char *path, const char *mode)
 
gzFile ZEXPORT gzopen64 (const char *path, const char *mode)
 
gzFile ZEXPORT gzdopen (int fd, const char *mode)
 
int ZEXPORT gzbuffer (gzFile file, unsigned size)
 
int ZEXPORT gzrewind (gzFile file)
 
z_off64_t ZEXPORT gzseek64 (gzFile file, z_off64_t offset, int whence)
 
z_off_t ZEXPORT gzseek (gzFile file, z_off_t offset, int whence)
 
z_off64_t ZEXPORT gztell64 (gzFile file)
 
z_off_t ZEXPORT gztell (gzFile file)
 
z_off64_t ZEXPORT gzoffset64 (gzFile file)
 
z_off_t ZEXPORT gzoffset (gzFile file)
 
int ZEXPORT gzeof (gzFile file)
 
const char *ZEXPORT gzerror (gzFile file, int *errnum)
 
void ZEXPORT gzclearerr (gzFile file)
 
void ZLIB_INTERNAL gz_error (gz_statep state, int err, const char *msg)
 
unsigned ZLIB_INTERNAL gz_intmax (void)
 

Macro Definition Documentation

#define LSEEK   lseek

Definition at line 14 of file gzlib.c.

Referenced by gz_open(), gzoffset64(), gzrewind(), and gzseek64().

Function Documentation

void ZLIB_INTERNAL gz_error ( gz_statep  state,
int  err,
const char *  msg 
)
unsigned ZLIB_INTERNAL gz_intmax ( void  )

Definition at line 570 of file gzlib.c.

local gzFile gz_open ( const void *  path,
int  fd,
const char *  mode 
)
local void gz_reset ( gz_statep  state)

Definition at line 69 of file gzlib.c.

References gz_error(), GZ_READ, LOOK, and Z_OK.

Referenced by gz_open(), and gzrewind().

int ZEXPORT gzbuffer ( gzFile  file,
unsigned  size 
)

Definition at line 294 of file gzlib.c.

References GZ_READ, and GZ_WRITE.

void ZEXPORT gzclearerr ( gzFile  file)

Definition at line 505 of file gzlib.c.

References gz_error(), GZ_READ, GZ_WRITE, and Z_OK.

gzFile ZEXPORT gzdopen ( int  fd,
const char *  mode 
)

Definition at line 270 of file gzlib.c.

References free(), gz_open(), and malloc().

int ZEXPORT gzeof ( gzFile  file)

Definition at line 472 of file gzlib.c.

References GZ_READ, and GZ_WRITE.

const char* ZEXPORT gzerror ( gzFile  file,
int errnum 
)

Definition at line 487 of file gzlib.c.

References GZ_READ, GZ_WRITE, and Z_MEM_ERROR.

z_off_t ZEXPORT gzoffset ( gzFile  file)

Definition at line 464 of file gzlib.c.

References gzoffset64(), z_off64_t, and z_off_t.

z_off64_t ZEXPORT gzoffset64 ( gzFile  file)

Definition at line 443 of file gzlib.c.

References GZ_READ, GZ_WRITE, LSEEK, SEEK_CUR, and z_off64_t.

Referenced by gzoffset().

gzFile ZEXPORT gzopen ( const char *  path,
const char *  mode 
)

Definition at line 260 of file gzlib.c.

References gz_open().

gzFile ZEXPORT gzopen64 ( const char *  path,
const char *  mode 
)

Definition at line 265 of file gzlib.c.

References gz_open().

int ZEXPORT gzrewind ( gzFile  file)

Definition at line 318 of file gzlib.c.

References GZ_READ, gz_reset(), LSEEK, SEEK_SET, Z_BUF_ERROR, and Z_OK.

Referenced by gzseek64().

z_off_t ZEXPORT gzseek ( gzFile  file,
z_off_t  offset,
int  whence 
)

Definition at line 412 of file gzlib.c.

References gzseek64(), z_off64_t, and z_off_t.

z_off64_t ZEXPORT gzseek64 ( gzFile  file,
z_off64_t  offset,
int  whence 
)

Definition at line 339 of file gzlib.c.

References COPY, GT_OFF, gz_error(), GZ_READ, GZ_WRITE, gzrewind(), LSEEK, gzFile_s::pos, SEEK_CUR, SEEK_SET, Z_BUF_ERROR, z_off64_t, and Z_OK.

Referenced by gzseek().

z_off_t ZEXPORT gztell ( gzFile  file)

Definition at line 435 of file gzlib.c.

References gztell64(), z_off64_t, and z_off_t.

z_off64_t ZEXPORT gztell64 ( gzFile  file)

Definition at line 420 of file gzlib.c.

References GZ_READ, GZ_WRITE, and gzFile_s::pos.

Referenced by gztell().