summaryrefslogtreecommitdiffstats
path: root/isys/gzlib/gzlib.h
blob: 35255a4018c4c39afd3fcef059609664d2b5c0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef H_GZFILE
#define H_GZFILE

typedef struct gzFile_s * gzFile;

gzFile gunzip_open(const char * file);
gzFile gunzip_dopen(int fd);
gzFile gzip_open(const char * file, int mode);
gzFile gzip_dopen(int fd);
int gunzip_read(gzFile str, void * buf, int bytes);
int gzip_write(gzFile str, void * buf, int bytes);
int gunzip_close(gzFile str);
int gzip_close(gzFile str);

#endif