summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-18 03:11:12 +0200
committerTao Bao <tbao@google.com>2015-07-22 02:43:42 +0200
commit68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276 (patch)
tree5188bcc2de0fdd8a321da5513d9dc675d3c3b4b5 /applypatch/applypatch.h
parentMerge "updater: libapplypatch needs libbase now." (diff)
downloadandroid_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar.gz
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar.bz2
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar.lz
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar.xz
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.tar.zst
android_bootable_recovery-68c5a6796737bb583a8bdfa4c9cd9c7f12ef4276.zip
Diffstat (limited to '')
-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,