#include <module.h>
Data Fields | |
CxStatus(* | readArchive )(CxArchive *archive, CxFP *fp) |
Reads an archive and returns information on it. | |
CxStatus(* | saveArchive )(CxArchive *archive, CxFP *fp) |
Saves an archive to a file. | |
void(* | closeArchive )(CxArchive *archive) |
Closes an archive. | |
CxFP *(* | openFile )(CxFile *file, CxAccessMode mode) |
Opens a contained file for reading, writing, or appending. | |
void(* | destroyFile )(CxFile *file) |
Destroys the module-specific data in a contained file. | |
char(* | supportsExtension )(const char *ext) |
Determines if the module supports the specified file extension. |
This structure is to be filled out by all modules that handle comression/decompression of files.
|
Closes an archive.
|
|
Destroys the module-specific data in a contained file.
|
|
Opens a contained file for reading, writing, or appending.
|
|
Reads an archive and returns information on it. This is similar to openDir(), but reports information on the archive file itself, as well as all of the files stored inside it.
|
|
Saves an archive to a file.
|
|
Determines if the module supports the specified file extension. This should just give a best guess. All string comparisons should be case-insensitive.
|