Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

_CxFP Struct Reference

A file pointer. More...

#include <fp.h>


Data Fields

CxFilefile
 The associated file.

CxArchivearchive
 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


Detailed Description

A file pointer.


Field Documentation

CxAccessMode _CxFP::accessMode
 

The file access mode.

CxArchive* _CxFP::archive
 

The associated archive, if any.

void(* _CxFP::close)(CxFP *fp)
 

The close function.

int _CxFP::eof
 

The EOF status.

int _CxFP::error
 

The current error.

char* _CxFP::errStr
 

The error string.

CxFile* _CxFP::file
 

The associated file.

void* _CxFP::moduleData
 

Module-specific data.

struct { ... } _CxFP::ops
 

long _CxFP::pos
 

The current position in the file.

size_t(* _CxFP::read)(void *ptr, size_t size, size_t nmemb, CxFP *fp)
 

The read function.

unsigned int _CxFP::refCount
 

The reference count.

void(* _CxFP::rewind)(CxFP *fp)
 

The rewind function.

void(* _CxFP::seek)(CxFP *fp, long offset, int whence)
 

The seek function.

size_t(* _CxFP::write)(const void *ptr, size_t size, size_t nmemb, CxFP *fp)
 

The write function.


The documentation for this struct was generated from the following file:
Generated on Wed May 29 12:20:35 2002 for libcomprex by doxygen1.2.15-20020430