1 2 3 4 5 6 7 8 9 10 11
#ifndef H_GZFILE #define H_GZFILE typedef struct gzFile_s * gzFile; gzFile gunzip_open(const char * file); gzFile gunzip_dopen(int fd); int gunzip_read(gzFile str, void * buf, int bytes); int gunzip_close(gzFile str); #endif