X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=xdiff%2Fxdiff.h;h=c00ddaa6e987407743d2c8877f9ca6e772f89c86;hb=d25430c5f88c7e7b4ce24c1b08e409f4345c4eb9;hp=e874a7c46a90104ebf586d0fc48964634f356763;hpb=070739fd351702ea9bb4f65595728ae25a488075;p=git.git diff --git a/xdiff/xdiff.h b/xdiff/xdiff.h index e874a7c46..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 { @@ -103,4 +107,3 @@ int xdl_merge(mmfile_t *orig, mmfile_t *mf1, const char *name1, #endif /* #ifdef __cplusplus */ #endif /* #if !defined(XDIFF_H) */ -