#include <stdio.h>
#include "zutil.h"
Go to the source code of this file.
|
void | check_header (gz_stream *s) |
|
int | destroy (gz_stream *s) |
|
int | do_flush (gzFile file, int flush) |
|
int | get_byte (gz_stream *s) |
|
uLong | getLong (gz_stream *s) |
|
gzFile | gz_open (char *path, const char *mode, int fd) const |
|
void ZEXPORT | gzclearerr (gzFile file) |
|
int ZEXPORT | gzclose (gzFile file) |
|
int ZEXPORT | gzdirect (gzFile file) |
|
gzFile ZEXPORT | gzdopen (int fd, const char *mode) |
|
int ZEXPORT | gzeof (gzFile file) |
|
const char *ZEXPORT | gzerror (gzFile file, int *errnum) |
|
int ZEXPORT | gzflush (gzFile file, int flush) |
|
int ZEXPORT | gzgetc (gzFile file) |
|
char *ZEXPORT | gzgets (gzFile file, char *buf, int len) |
|
gzFile ZEXPORT | gzopen (char *path, const char *mode) const |
|
int ZEXPORTVA | gzprintf (gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20) |
|
int ZEXPORT | gzputc (gzFile file, int c) |
|
int ZEXPORT | gzputs (gzFile file, const char *s) |
|
int ZEXPORT | gzread (gzFile file, voidp buf, unsigned len) |
|
int ZEXPORT | gzrewind (gzFile file) |
|
z_off_t ZEXPORT | gzseek (gzFile file, z_off_t offset, int whence) |
|
int ZEXPORT | gzsetparams (gzFile file, int level, int strategy) |
|
z_off_t ZEXPORT | gztell (gzFile file) |
|
int ZEXPORT | gzungetc (int c, gzFile file) |
|
int ZEXPORT | gzwrite (gzFile file, voidpc buf, unsigned len) |
|
gzFile gz_open | OF ((const char *path, const char *mode, int fd)) |
|
void putLong | OF ((FILE *file, uLong x)) |
|
int get_byte | OF ((gz_stream *s)) |
|
int do_flush | OF ((gzFile file, int flush)) |
|
voidp malloc | OF ((uInt size)) |
|
void free | OF ((voidpf ptr)) |
|
void | putLong (FILE *file, uLong x) |
|
◆ ALLOC
◆ ASCII_FLAG
#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ |
◆ COMMENT
#define COMMENT 0x10 /* bit 4 set: file comment present */ |
◆ EXTRA_FIELD
#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
◆ HEAD_CRC
#define HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
◆ ORIG_NAME
#define ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
◆ RESERVED
#define RESERVED 0xE0 /* bits 5..7: reserved */ |
◆ TRYFREE
#define TRYFREE |
( |
|
p | ) |
{if (p) free(p);} |
◆ Z_BUFSIZE
◆ Z_PRINTF_BUFSIZE
#define Z_PRINTF_BUFSIZE 4096 |
◆ zstrerror
#define zstrerror |
( |
|
errnum | ) |
"" |
◆ gz_stream
◆ check_header()
◆ destroy()
◆ do_flush()
◆ get_byte()
◆ getLong()
◆ gz_open()
◆ gzclearerr()
◆ gzclose()
◆ gzdirect()
◆ gzdopen()
◆ gzeof()
◆ gzerror()
◆ gzflush()
◆ gzgetc()
◆ gzgets()
◆ gzopen()
◆ gzprintf()
int ZEXPORTVA gzprintf |
( |
gzFile |
file, |
|
|
const char * |
format, |
|
|
int |
a1, |
|
|
int |
a2, |
|
|
int |
a3, |
|
|
int |
a4, |
|
|
int |
a5, |
|
|
int |
a6, |
|
|
int |
a7, |
|
|
int |
a8, |
|
|
int |
a9, |
|
|
int |
a10, |
|
|
int |
a11, |
|
|
int |
a12, |
|
|
int |
a13, |
|
|
int |
a14, |
|
|
int |
a15, |
|
|
int |
a16, |
|
|
int |
a17, |
|
|
int |
a18, |
|
|
int |
a19, |
|
|
int |
a20 |
|
) |
| |
◆ gzputc()
◆ gzputs()
◆ gzread()
◆ gzrewind()
◆ gzseek()
◆ gzsetparams()
◆ gztell()
◆ gzungetc()
◆ gzwrite()
◆ OF() [1/6]
◆ OF() [2/6]
◆ OF() [3/6]
◆ OF() [4/6]
◆ OF() [5/6]
◆ OF() [6/6]
◆ putLong()
◆ gz_magic