diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-11-24 16:50:10 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-11-24 17:01:08 -0800 |
commit | eaee7190f5ab851a76cd59e899dce253297cbb31 (patch) | |
tree | f2a2551ed2c38e45fb0bcd838c304a489bd6f225 /applypatch/applypatch.h | |
parent | 53e139f8b3b982f130d387a6261a1613435d6f40 (diff) | |
download | bootable_recovery-eaee7190f5ab851a76cd59e899dce253297cbb31.zip bootable_recovery-eaee7190f5ab851a76cd59e899dce253297cbb31.tar.gz bootable_recovery-eaee7190f5ab851a76cd59e899dce253297cbb31.tar.bz2 |
Pull in android 4.2 updater bits willy nilly. Next commit will fix.
Change-Id: Id2616d1fead045688a5acf13b3420016322f664b
Diffstat (limited to 'applypatch/applypatch.h')
-rw-r--r-- | applypatch/applypatch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/applypatch/applypatch.h b/applypatch/applypatch.h index fb58843..d1a0232 100644 --- a/applypatch/applypatch.h +++ b/applypatch/applypatch.h @@ -55,7 +55,8 @@ int applypatch(const char* source_filename, size_t target_size, int num_patches, char** const patch_sha1_str, - Value** patch_data); + Value** patch_data, + Value* bonus_data); int applypatch_check(const char* filename, int num_patches, char** const patch_sha1_str); @@ -79,7 +80,8 @@ int ApplyBSDiffPatchMem(const unsigned char* old_data, ssize_t old_size, // imgpatch.c int ApplyImagePatch(const unsigned char* old_data, ssize_t old_size, const Value* patch, - SinkFn sink, void* token, SHA_CTX* ctx); + SinkFn sink, void* token, SHA_CTX* ctx, + const Value* bonus_data); // freecache.c int MakeFreeSpaceOnCache(size_t bytes_needed); |