X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=xdiff%2Fxdiff.h;h=c00ddaa6e987407743d2c8877f9ca6e772f89c86;hb=e708af6e587ae0ecb2a6480e3614c5ec4a164106;hp=9402bb0799978e181ba972a749a0ad849d2bd706;hpb=96c48153c9a2905fb2f1d588c11e36272635cb79;p=git.git diff --git a/xdiff/xdiff.h b/xdiff/xdiff.h index 9402bb079..c00ddaa6e 100644 --- a/xdiff/xdiff.h +++ b/xdiff/xdiff.h @@ -73,9 +73,13 @@ typedef struct s_xdemitcb { int (*outf)(void *, mmbuffer_t *, int); } xdemitcb_t; +typedef long (*find_func_t)(const char *line, long line_len, char *buffer, long buffer_size, void *priv); + typedef struct s_xdemitconf { long ctxlen; unsigned long flags; + find_func_t find_func; + void *find_func_priv; } xdemitconf_t; typedef struct s_bdiffparam {