summaryrefslogtreecommitdiff
path: root/unrar/unrar.c
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 /unrar/unrar.c
parentda1cdfc3ada7109330a92955239bdc7981e95430 (diff)
downloadtuxcmd-modules-ab2b62982be3224e921eead9c232f82c50567cd8.tar.xz
Password reset support
Diffstat (limited to 'unrar/unrar.c')
-rw-r--r--unrar/unrar.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/unrar/unrar.c b/unrar/unrar.c
index 22d5497..b1282e7 100644
--- a/unrar/unrar.c
+++ b/unrar/unrar.c
@@ -1,5 +1,5 @@
/* UNRAR plugin for Tux Commander
- * version 0.3.2, designed for unrar v3.8.2
+ * version 0.3.3, designed for unrar v3.8.2
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
* Check for updates on tuxcmd.sourceforge.net
*
@@ -55,8 +55,8 @@ enum HOST_SYSTEM {
};
-#define VERSION "0.3.2"
-#define BUILD_DATE "2008-10-28"
+#define VERSION "0.3.3"
+#define BUILD_DATE "2008-11-14"
#define DEFAULT_BLOCK_SIZE 65536
@@ -479,6 +479,14 @@ int VFSGetPasswordRequired(struct TVFSGlobs *globs)
return FALSE;
}
+void VFSResetPassword(struct TVFSGlobs *globs)
+{
+ if (globs && globs->password) {
+ g_free (globs->password);
+ globs->password = NULL;
+ }
+}
+
/******************************************************************************************************/