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-24 20:15:19 +0200
commitabba55b4c52cc347e8806ba833645f150f2965ce (patch)
tree6da56c22d1a3d8876660ce659fa30916831b7b98 /applypatch/applypatch.h
parentMerge "updater: libapplypatch needs libbase now." (diff)
downloadandroid_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar.gz
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar.bz2
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar.lz
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar.xz
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.tar.zst
android_bootable_recovery-abba55b4c52cc347e8806ba833645f150f2965ce.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,