summaryrefslogtreecommitdiffstats
path: root/src/cc4group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.h')
-rw-r--r--src/cc4group.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cc4group.h b/src/cc4group.h
index d81e84a..a7d2dcc 100644
--- a/src/cc4group.h
+++ b/src/cc4group.h
@@ -305,9 +305,14 @@ typedef struct {
bool (*extractAll)(CC4Group* const this, const char* const targetPath);
// extracts only a single file or a sub directory of the group denoted by the entryPath to the targetPath
- // the containing directory of the targetPath must exist, but the final targetPath must not exist. otherwise an error will be generated
+ // the targetPath must exist and be a directory. the entry/ies will be extracted inside the targetPath
bool (*extractSingle)(CC4Group* const this, const char* const entryPath, const char* const targetPath);
+ // extracts only a single file or a sub directory of the group denoted by the entryPath to the targetPath
+ // the containing directory of the targetPath must exist, but the final targetPath must not exist. otherwise an error will be generated
+ // the entry denoted by entryPath will be renamed according to the targetPath
+ bool (*extractSingleRename)(CC4Group* const this, const char* const entryPath, const char* const targetPath);
+
// retrieval of metadata about the stored files and directories
// stores all metadata known about the entry denoted by path into the CC4Group_EntryInfo struct pointed to by info, similar to stat