#include <module.h>
Data Fields | |
PmStatus(* | open )(PmPackage *package, const char *filename) |
Opens the specified package. | |
PmStatus(* | close )(PmPackage *package) |
Closes the specified package. | |
int(* | handlesFileType )(const char *filename) |
Determines if this module handles the specified file type. | |
PmStatus(* | extractFile )(PmPackage *package, const char *archivePath, const char *fsPath) |
Extracts a single file from an archive. | |
PmStatus(* | extractAll )(PmPackage *package) |
Extracts the entire archive. | |
char *(* | getScript )(PmPackage *package, PmScriptType type, PmScriptEvent event, const char *trigger) |
Gets the script with the specified type, event, and trigger name, if the script is a trigger. |
These functions should only be used by libpackman!
|
Closes the specified package.
|
|
Extracts the entire archive.
|
|
Extracts a single file from an archive.
|
|
Gets the script with the specified type, event, and trigger name, if the script is a trigger.
|
|
Determines if this module handles the specified file type.
|
|
Opens the specified package.
|