#include <fp.h>
Data Fields | |
| CxFile * | file |
| The associated file. | |
| CxArchive * | archive |
| The associated archive, if any. | |
| CxAccessMode | accessMode |
| The file access mode. | |
| long | pos |
| The current position in the file. | |
| int | eof |
| The EOF status. | |
| int | error |
| The current error. | |
| char * | errStr |
| The error string. | |
| void * | moduleData |
| Module-specific data. | |
| unsigned int | refCount |
| The reference count. | |
| struct { | |
| size_t(* read )(void *ptr, size_t size, size_t nmemb, CxFP *fp) | |
| size_t(* write )(const void *ptr, size_t size, size_t nmemb, CxFP *fp) | |
| void(* seek )(CxFP *fp, long offset, int whence) | |
| void(* rewind )(CxFP *fp) | |
| void(* close )(CxFP *fp) | |
| } | ops |
|
|
The file access mode.
|
|
|
The associated archive, if any.
|
|
|
The close function.
|
|
|
The EOF status.
|
|
|
The current error.
|
|
|
The error string.
|
|
|
The associated file.
|
|
|
Module-specific data.
|
|
|
|
|
|
The current position in the file.
|
|
|
The read function.
|
|
|
The reference count.
|
|
|
The rewind function.
|
|
|
The seek function.
|
|
|
The write function.
|
1.2.18-20021020