summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-08-21 00:28:02 +0200
committerDoug Zongker <dougz@google.com>2012-08-21 00:28:02 +0200
commita3ccba6d314cb29b02d1dbda9a71427b11da936d (patch)
tree5f2a722ebb6f9c7d58da206c04e077a7685c646c /applypatch/applypatch.h
parentam 3733d218: Merge changes I664f8dc7,I4154db06,I5e1df90f (diff)
downloadandroid_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.gz
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.bz2
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.lz
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.xz
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.tar.zst
android_bootable_recovery-a3ccba6d314cb29b02d1dbda9a71427b11da936d.zip
Diffstat (limited to 'applypatch/applypatch.h')
-rw-r--r--applypatch/applypatch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/applypatch/applypatch.h b/applypatch/applypatch.h
index fb58843ba..d1a023293 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);