1#ifndef XDIFF_INTERFACE_H
2#define XDIFF_INTERFACE_H
34
#include "xdiff/xdiff.h"
56
struct xdiff_emit_state;
78
typedef void (*xdiff_emit_consume_fn)(void *, char *, unsigned long);
910
struct xdiff_emit_state {
11xdiff_emit_consume_fn consume;
12char *remainder;
13unsigned long remainder_size;
14};
1516
int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf);
17int parse_hunk_header(char *line, int len,
18int *ob, int *on,
19int *nb, int *nn);
2021
#endif