Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_CxArchive Struct Reference

A representation of an archive of files. More...

#include <libcomprex/archive.h>


Data Fields

CxModulemodule
 The module.

CxArchiveType type
 The archive type.

CxAccessMode accessMode
 The file access mode.

CxArchiveparent
 The parent archive.

CxFPfp
 The associated file pointer.

char * name
 The base filename.

char * path
 The full path to the archive.

char * physPath
 The full physical path to the archive.

char isLocal
 Non-zero if the archive is stored locally.

unsigned int fileSize
 The size of the archive file.

unsigned int archiveSize
 The total size of all contents.

size_t fileCount
 Total number of files in the archive.

CxDirectoryroot
 The root directory in the archive.

void * moduleData
 Module-specific data.

unsigned int refCount
 The reference count.

void(* ex_callback )(CxArchive *, CxFile *, size_t onFile, size_t fileCount)
 The archive specific callback that will be called upon the extraction of each file within the archive.


Detailed Description

A representation of an archive of files.


Field Documentation

CxAccessMode _CxArchive::accessMode
 

The file access mode.

unsigned int _CxArchive::archiveSize
 

The total size of all contents.

void(* _CxArchive::ex_callback)(CxArchive *, CxFile *, size_t onFile, size_t fileCount)
 

The archive specific callback that will be called upon the extraction of each file within the archive.

size_t _CxArchive::fileCount
 

Total number of files in the archive.

unsigned int _CxArchive::fileSize
 

The size of the archive file.

CxFP* _CxArchive::fp
 

The associated file pointer.

char _CxArchive::isLocal
 

Non-zero if the archive is stored locally.

CxModule* _CxArchive::module
 

The module.

void* _CxArchive::moduleData
 

Module-specific data.

char* _CxArchive::name
 

The base filename.

CxArchive* _CxArchive::parent
 

The parent archive.

char* _CxArchive::path
 

The full path to the archive.

This may include a non-physical path (FTP site, archive, etc.) in the path.

char* _CxArchive::physPath
 

The full physical path to the archive.

If the file is non-local, this will be a temporary filename.

unsigned int _CxArchive::refCount
 

The reference count.

CxDirectory* _CxArchive::root
 

The root directory in the archive.

CxArchiveType _CxArchive::type
 

The archive type.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 5 20:47:44 2003 for libcomprex by doxygen1.2.18-20021020