summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppc4group.hpp')
-rw-r--r--src/cppc4group.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp
index 0ca9eb1..33cf2cc 100644
--- a/src/cppc4group.hpp
+++ b/src/cppc4group.hpp
@@ -153,8 +153,10 @@ public:
bool openMemory(const void* const data, const size_t size, const MemoryManagement& management = MemoryManagement::Reference);
bool openWithReadCallback(const ReadCallback callback, void* const callbackArg, const MemoryManagement& management = MemoryManagement::Take, SetupCallback initCallback = nullptr, SetupCallback deinitCallback = nullptr);
- // save actually maps to both cc4group.save and cc4group.saveOverwrite, thanks to default arguments (yes, thats the reason why they are separate in the C-API)
- bool save(const std::string& path, const bool overwrite = false);
+ // save actually maps to both cc4group.save and cc4group.saveParent, thanks to default arguments (yes, thats the reason why they are separate in the C-API)
+ bool save(const bool parent = false);
+ // saveAs actually maps to both cc4group.saveAs and cc4group.saveAsOverwrite, as above
+ bool saveAs(const std::string& path, const bool overwrite = false);
bool saveToFd(const int fd);
bool saveToFilePointer(FILE* file);
bool saveWithWriteCallback(const WriteCallback callback, void* const arg = nullptr, size_t bufferSize = 0);