summaryrefslogtreecommitdiffstats
path: root/twrpTar.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpTar.hpp')
-rw-r--r--twrpTar.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/twrpTar.hpp b/twrpTar.hpp
index 17f69594d..02d4b8004 100644
--- a/twrpTar.hpp
+++ b/twrpTar.hpp
@@ -51,6 +51,8 @@ public:
void setfn(string fn);
void setdir(string dir);
void setsize(unsigned long long backup_size);
+ void setpassword(string pass);
+
unsigned long long uncompressedSize();
public:
@@ -89,6 +91,7 @@ private:
string tardir;
string tarfn;
string basefn;
+ string password;
vector <string> tarexclude;