summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2016-08-19 23:43:45 +0200
committerEthan Yonker <dees_troy@teamw.in>2017-06-17 14:05:45 +0200
commit56cf56465857e79e814b1e2d50f13e176170fcb3 (patch)
tree33b1ed63aa4e51f6e49fda5bd6ccb204e1e8fdab /partitions.hpp
parentMerge "Fix minui issues for some build trees" into android-7.1 (diff)
downloadandroid_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.gz
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.bz2
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.lz
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.xz
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.tar.zst
android_bootable_recovery-56cf56465857e79e814b1e2d50f13e176170fcb3.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/partitions.hpp b/partitions.hpp
index 0865c9636..61bf7e291 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -47,6 +47,7 @@ struct PartitionSettings {
std::string Backup_Folder; // Path to restore folder
bool adbbackup; // tell the system we are backing up over adb
bool adb_compression; // 0 == uncompressed, 1 == compressed
+ bool generate_digest; // tell system to create digest for partitions
bool generate_md5; // tell system to create md5 for partitions
uint64_t total_restore_size; // Total size of restored backup
uint64_t img_bytes_remaining; // remaining img/emmc bytes to backup for progress indicator
@@ -90,7 +91,6 @@ public:
bool Can_Resize(); // Checks to see if we have everything needed to be able to resize the current file system
bool Resize(); // Resizes the current file system
bool Backup(PartitionSettings *part_settings, pid_t *tar_fork_pid); // Backs up the partition to the folder specified
- bool Check_MD5(PartitionSettings *part_settings); // Checks MD5 of a backup
bool Restore(PartitionSettings *part_settings); // Restores the partition using the backup folder provided
unsigned long long Get_Restore_Size(PartitionSettings *part_settings); // Returns the overall restore size of the backup
string Backup_Method_By_Name(); // Returns a string of the backup method for human readable output
@@ -302,7 +302,6 @@ public:
private:
void Setup_Settings_Storage_Partition(TWPartition* Part); // Sets up settings storage
void Setup_Android_Secure_Location(TWPartition* Part); // Sets up .android_secure if needed
- bool Make_MD5(struct PartitionSettings *part_settings); // Generates an MD5 after a backup is made
bool Backup_Partition(struct PartitionSettings *part_settings); // Backup the partitions based on type
void Output_Partition(TWPartition* Part); // Outputs partition details to the log
TWPartition* Find_Partition_By_MTP_Storage_ID(unsigned int Storage_ID); // Returns a pointer to a partition based on MTP Storage ID