summaryrefslogtreecommitdiffstats
path: root/twrpTar.hpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2015-01-17 22:53:12 +0100
committerDees Troy <dees_troy@teamw.in>2015-01-27 15:07:19 +0100
commit7abc5fe195cfa203d215781e2a04672cebecca1e (patch)
tree45ea351d11d26a7881441b1451d77f5cfef37ebb /twrpTar.hpp
parentUse /twres instead of /res for theme resources (diff)
downloadandroid_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar.gz
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar.bz2
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar.lz
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar.xz
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.tar.zst
android_bootable_recovery-7abc5fe195cfa203d215781e2a04672cebecca1e.zip
Diffstat (limited to '')
-rw-r--r--twrpTar.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/twrpTar.hpp b/twrpTar.hpp
index 799475234..63cb3752a 100644
--- a/twrpTar.hpp
+++ b/twrpTar.hpp
@@ -45,7 +45,7 @@ class twrpTar {
public:
twrpTar();
virtual ~twrpTar();
- int createTarFork(const unsigned long long *overall_size, const unsigned long long *other_backups_size);
+ int createTarFork(const unsigned long long *overall_size, const unsigned long long *other_backups_size, pid_t &fork_pid);
int extractTarFork(const unsigned long long *overall_size, unsigned long long *other_backups_size);
void setfn(string fn);
void setdir(string dir);
@@ -80,6 +80,7 @@ private:
static void* extractMulti(void *cookie);
int tarList(std::vector<TarListStruct> *TarList, unsigned thread_id);
unsigned long long uncompressedSize(string filename, int *archive_type);
+ static void Signal_Kill(int signum);
int Archive_Current_Type;
unsigned long long Archive_Current_Size;