[PATCH] git-cat-file: use sha1_object_info() on '-t'.
[alt-git.git] / delta.h
blobbc3a220179cefd0af169ab4f2e6aeeb5675f900a
1 #ifndef DELTA_H
2 #define DELTA_H
4 /* handling of delta buffers */
5 extern void *diff_delta(void *from_buf, unsigned long from_size,
6 void *to_buf, unsigned long to_size,
7 unsigned long *delta_size, unsigned long max_size);
8 extern void *patch_delta(void *src_buf, unsigned long src_size,
9 void *delta_buf, unsigned long delta_size,
10 unsigned long *dst_size);
12 #endif