Data Fields | |
| char * | name |
| CFile_type | filetype |
| union { | |
| gzFile * gp | |
| FILE * fp | |
| BZFILE * bp | |
| } | fileptr |
| char * | buffer |
| int | buflen |
| int | bufpos |
This structure contains all the information we need to tote around to access the file, be it through zlib or bzlib or stdio.
| BZFILE* cfile_struct::bp |
The bzip2 typed file pointer
| char* cfile_struct::buffer |
Used for buffering fgetc reads from bzip2 files
The length of the content in the buffer
The current position of the next character
| union { ... } cfile_struct::fileptr |
The structure used to contain all the file pointers
The type of the file opened (see CFile_type)
| FILE* cfile_struct::fp |
The regular uncompressed file pointer
| gzFile* cfile_struct::gp |
< The various file pointers, all in one box The gzip typed pointer
| char* cfile_struct::name |
The name of the file opened
1.4.7