summaryrefslogtreecommitdiffstats
path: root/twrpTar.hpp
diff options
context:
space:
mode:
authorn0d3 <koko1510@gmail.com>2013-03-06 20:14:15 +0100
committerDees_Troy <dees_troy@teamw.in>2013-03-18 18:37:28 +0100
commit3b51163329d24df073610499af4f540c2f0766ed (patch)
treeddf4f8417ff638327e16fab22a8190505d150f30 /twrpTar.hpp
parentMerge "trying to fix md5 Change-Id: I4ec037f76aa965bc818afe924942adbe9a080b36" into twrp2.4 (diff)
downloadandroid_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar.gz
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar.bz2
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar.lz
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar.xz
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.tar.zst
android_bootable_recovery-3b51163329d24df073610499af4f540c2f0766ed.zip
Diffstat (limited to 'twrpTar.hpp')
-rw-r--r--twrpTar.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpTar.hpp b/twrpTar.hpp
index 427e6d1c3..3ee6028a5 100644
--- a/twrpTar.hpp
+++ b/twrpTar.hpp
@@ -38,6 +38,7 @@ class twrpTar {
int addFilesToExistingTar(vector <string> files, string tarFile);
int createTar();
int addFile(string fn, bool include_root);
+ int entryExists(string entry);
int closeTar(bool gzip);
int createTarGZFork();
int createTarFork();
@@ -59,6 +60,7 @@ class twrpTar {
int has_data_media;
int Archive_File_Count;
unsigned long long Archive_Current_Size;
+ int getArchiveType(); // 1 for compressed - 0 for uncompressed
TAR *t;
FILE* p;
int fd;