summaryrefslogtreecommitdiff
path: root/zip/zip.cpp
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-11-14 20:41:40 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-11-14 20:41:40 +0100
commitab2b62982be3224e921eead9c232f82c50567cd8 (patch)
tree9fb5104d1e6a8f6284e4e0f75f7610f437223c5d /zip/zip.cpp
parentda1cdfc3ada7109330a92955239bdc7981e95430 (diff)
downloadtuxcmd-modules-ab2b62982be3224e921eead9c232f82c50567cd8.tar.xz
Password reset support
Diffstat (limited to 'zip/zip.cpp')
-rw-r--r--zip/zip.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/zip/zip.cpp b/zip/zip.cpp
index 2f87778..75cb37a 100644
--- a/zip/zip.cpp
+++ b/zip/zip.cpp
@@ -1,5 +1,5 @@
/* ZIP plugin for Tux Commander
- * version 0.5.1, designed for ZipArchive v3.2.0
+ * version 0.5.2, designed for ZipArchive v3.2.0
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
* Check for updates on tuxcmd.sourceforge.net
*
@@ -47,8 +47,8 @@
-#define VERSION "0.5.1"
-#define BUILD_DATE "2008-10-28"
+#define VERSION "0.5.2"
+#define BUILD_DATE "2008-11-14"
#define DEFAULT_BLOCK_SIZE 65536
@@ -475,6 +475,13 @@ int VFSGetPasswordRequired(struct TVFSGlobs *globs)
return FALSE;
}
+void
+VFSResetPassword(struct TVFSGlobs *globs)
+{
+ if (globs)
+ globs->zip->SetPassword(NULL);
+}
+
/******************************************************************************************************/