Rizin
unix-like reverse engineering framework and cli tools
|
#include "gzguts.h"
Go to the source code of this file.
Macros | |
#define | LSEEK lseek |
Functions | |
void gz_reset | OF ((gz_statep)) |
gzFile gz_open | OF ((const void *, int, const char *)) |
void | gz_reset (gz_statep state) |
gzFile | gz_open (void *path, int fd, const char *mode) const |
gzFile ZEXPORT | gzopen (char *path, const char *mode) const |
gzFile ZEXPORT | gzopen64 (char *path, const char *mode) const |
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 ZLIB_INTERNAL gz_error | ( | gz_statep | state, |
int | err, | ||
const char * | msg | ||
) |
Definition at line 581 of file gzlib.c.
References err, free(), malloc(), msg, NULL, snprintf, Z_BUF_ERROR, Z_MEM_ERROR, and Z_OK.
Referenced by gz_comp(), gz_decomp(), gz_init(), gz_load(), gz_look(), gz_reset(), gzclearerr(), gzclose_r(), gzclose_w(), gzfread(), gzfwrite(), gzputs(), gzread(), gzseek64(), gzungetc(), and gzwrite().
unsigned ZLIB_INTERNAL gz_intmax | ( | ) |
Definition at line 93 of file gzlib.c.
References fd, free(), GZ_APPEND, GZ_NONE, GZ_READ, gz_reset(), GZ_WRITE, GZBUFSIZE, len, LSEEK, malloc(), NULL, O_APPEND, O_BINARY, O_CLOEXEC, O_CREAT, O_EXCL, O_LARGEFILE, O_RDONLY, O_TRUNC, O_WRONLY, path, SEEK_CUR, SEEK_END, snprintf, Z_DEFAULT_COMPRESSION, Z_DEFAULT_STRATEGY, Z_FILTERED, Z_FIXED, Z_HUFFMAN_ONLY, and Z_RLE.
Referenced by gzdopen(), gzopen(), and gzopen64().
void gz_reset | ( | gz_statep | state | ) |
Definition at line 75 of file gzlib.c.
References gz_error(), GZ_READ, LOOK, NULL, and Z_OK.
Referenced by gz_open(), and gzrewind().
Definition at line 318 of file gzlib.c.
Definition at line 288 of file gzlib.c.
References fd, free(), gz_open(), malloc(), NULL, path, snprintf, and sprintf.
Referenced by gzfilebuf::attach(), izstream::open(), and ozstream::open().
Definition at line 534 of file gzlib.c.
References GZ_READ, GZ_WRITE, NULL, and Z_MEM_ERROR.
Referenced by izstream::error(), ozstream::error(), and tar().
Definition at line 272 of file gzlib.c.
References gz_open(), and path.
Referenced by main(), izstream::open(), gzfilebuf::open(), and ozstream::open().
Definition at line 345 of file gzlib.c.
References GZ_READ, gz_reset(), LSEEK, NULL, SEEK_SET, Z_BUF_ERROR, and Z_OK.
Referenced by gzseek64().
Definition at line 445 of file gzlib.c.
References gzseek64(), z_off64_t, and z_off_t.
Definition at line 368 of file gzlib.c.
References COPY, GT_OFF, gz_error(), GZ_READ, GZ_WRITE, gzrewind(), LSEEK, n, state::next, NULL, SEEK_CUR, SEEK_SET, Z_BUF_ERROR, z_off64_t, and Z_OK.
Referenced by gzseek().