summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-24 20:33:57 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-24 20:33:57 +0200
commit3b753ad5da2ade45548f95b4a76219db3043db49 (patch)
tree8dbfd4f0af9bd655f99b9246dfc5d649c2f4df9f /applypatch/applypatch.h
parentam afb8f320: Merge "uncrypt: Support file level encryption." (diff)
parentMerge "applypatch: Support flash mode." (diff)
downloadandroid_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar.gz
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar.bz2
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar.lz
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar.xz
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.tar.zst
android_bootable_recovery-3b753ad5da2ade45548f95b4a76219db3043db49.zip
Diffstat (limited to 'applypatch/applypatch.h')
-rw-r--r--applypatch/applypatch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/applypatch/applypatch.h b/applypatch/applypatch.h
index edec84812..415bc1b3c 100644
--- a/applypatch/applypatch.h
+++ b/applypatch/applypatch.h
@@ -48,6 +48,8 @@ size_t FreeSpaceForFile(const char* filename);
int CacheSizeCheck(size_t bytes);
int ParseSha1(const char* str, uint8_t* digest);
+int applypatch_flash(const char* source_filename, const char* target_filename,
+ const char* target_sha1_str, size_t target_size);
int applypatch(const char* source_filename,
const char* target_filename,
const char* target_sha1_str,