#include <stdio.h>
#include "zlib.h"
#include <fcntl.h>
#include <errno.h>
Go to the source code of this file.
#define COPY 1 /* copy input directly */ |
#define DEF_MEM_LEVEL MAX_MEM_LEVEL |
#define GT_OFF |
( |
|
x | ) |
(sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) |
#define GZ_APPEND 1 /* mode set to GZ_WRITE after the file is opened */ |
#define GZIP 2 /* decompress a gzip stream */ |
#define LOOK 0 /* look for a gzip header */ |
#define zstrerror |
( |
| ) |
strerror(errno) |
voidp malloc OF |
( |
(uInt size) |
| ) |
|
void free OF |
( |
(voidpf ptr) |
| ) |
|
ZEXTERN gzFile ZEXPORT gzopen64 OF |
( |
(const char *, const char *) |
| ) |
|
ZEXTERN z_off64_t ZEXPORT gzseek64 OF |
( |
(gzFile, z_off64_t, int) |
| ) |
|
ZEXTERN z_off64_t ZEXPORT gztell64 OF |
( |
(gzFile) |
| ) |
|