int ZipArchive::renameEntry(const string& e, const string& newName) const { ZipEntry entry = getEntry(e); if (entry.isNull()) { return LIBZIPPP_ERROR_INVALID_PARAMETER; } return renameEntry(entry, newName); }
int ZipArchive::deleteEntry(const string& e) const { ZipEntry entry = getEntry(e); if (entry.isNull()) { return LIBZIPPP_ERROR_INVALID_PARAMETER; } return deleteEntry(entry); }
int ZipArchive::renameEntry(const string& e, const string& newName) const { ZipEntry entry = getEntry(e); if (entry.isNull()) { return -4; } return renameEntry(entry, newName); }
void* ZipArchive::readEntry(const string& zipEntry, bool asText, State state, libzippp_uint64 size) const { ZipEntry entry = getEntry(zipEntry); if (entry.isNull()) { return NULL; } return readEntry(entry, asText, state, size); }
int ZipArchive::deleteEntry(const string& e) const { ZipEntry entry = getEntry(e); if (entry.isNull()) { return -4; } return deleteEntry(entry); }