summaryrefslogtreecommitdiffstats
path: root/src/cc4group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.h')
-rw-r--r--src/cc4group.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cc4group.h b/src/cc4group.h
index 9c5625b..16c684a 100644
--- a/src/cc4group.h
+++ b/src/cc4group.h
@@ -36,9 +36,14 @@ typedef struct {
bool (*create)(CC4Group* const this);
void (*delete)(CC4Group* const this);
+ // opens a group on the filesystem; path may point to a directory inside a group
// only open an existing group on a frehsly created group object
bool (*openExisting)(CC4Group* const this, const char* const path);
+ // opens a group that is stored entirely in memory
+ // only open an in-memory group on a frehsly created group object
+ bool (*openMemory)(CC4Group* const this, const uint8_t* const groupData, size_t const size);
+
bool (*save)(CC4Group* const this, const char* const path);
bool (*saveOverwrite)(CC4Group* const this, const char* const path);