X-Git-Url: https://git.octo.it/?p=git.git;a=blobdiff_plain;f=diffcore.h;h=73c7842cc7fd907519016b936a96b6f08cd80b47;hp=d31b3b476c0fc25a85b483b3d1d04b2d36bc6481;hb=HEAD;hpb=3ab8532b07f37e9f16df8aaaadd175646b7bea26 diff --git a/diffcore.h b/diffcore.h index d31b3b47..73c7842c 100644 --- a/diffcore.h +++ b/diffcore.h @@ -26,6 +26,7 @@ struct diff_filespec { unsigned char sha1[20]; char *path; void *data; + void *cnt_data; unsigned long size; int xfrm_flags; /* for use by the xfrm */ unsigned short mode; /* file mode */ @@ -103,6 +104,8 @@ void diff_debug_queue(const char *, struct diff_queue_struct *); extern int diffcore_count_changes(void *src, unsigned long src_size, void *dst, unsigned long dst_size, + void **src_count_p, + void **dst_count_p, unsigned long delta_limit, unsigned long *src_copied, unsigned long *literal_added);