diff options
author | Nicolas Pitre <nico@cam.org> | 2005-05-19 10:27:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-19 08:56:22 -0700 |
commit | a310d4349467d78266f38d29e500c77b96ee5bef (patch) | |
tree | 33777305e65ea08fcb143ecc2a25f94bc75ee141 /delta.h | |
parent | 21949255d1a9c04ed8cba9c54ddac13889b2ea26 (diff) | |
download | git-a310d4349467d78266f38d29e500c77b96ee5bef.tar.gz |
[PATCH] Deltification library work by Nicolas Pitre.
This patch adds the basic library functions to create and replay delta
information. Also included is a test-delta utility to validate the
code.
diff-delta was based on LibXDiff written by Davide Libenzi
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'delta.h')
-rw-r--r-- | delta.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/delta.h b/delta.h new file mode 100644 index 0000000000..e073dff831 --- /dev/null +++ b/delta.h @@ -0,0 +1,6 @@ +extern void *diff_delta(void *from_buf, unsigned long from_size, + void *to_buf, unsigned long to_size, + unsigned long *delta_size); +extern void *patch_delta(void *src_buf, unsigned long src_size, + void *delta_buf, unsigned long delta_size, + unsigned long *dst_size); |