X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diffcore.h;h=73c7842cc7fd907519016b936a96b6f08cd80b47;hb=7612a1efdb0c0806b43db10ce784707aae874340;hp=d31b3b476c0fc25a85b483b3d1d04b2d36bc6481;hpb=c827a84c694f95a9c2e179192d34c33eccdbb10a;p=git.git 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);