summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-07-24 20:17:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-07-24 20:17:49 +0200
commitdd738c11a49d594183dde9f0e46f56c7a575900a (patch)
tree8dbfd4f0af9bd655f99b9246dfc5d649c2f4df9f /applypatch/applypatch.h
parentMerge "uncrypt: Support file level encryption." (diff)
parentapplypatch: Support flash mode. (diff)
downloadandroid_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar.gz
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar.bz2
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar.lz
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar.xz
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.tar.zst
android_bootable_recovery-dd738c11a49d594183dde9f0e46f56c7a575900a.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,