Staging
v0.5.1
https://github.com/git/git
Revision 9159afbfce955db86373dab95b5f8e31fb763dae authored by Junio C Hamano on 06 May 2007, 08:07:04 UTC, committed by Junio C Hamano on 06 May 2007, 08:07:04 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 125a5f1
Raw File
Tip revision: 9159afbfce955db86373dab95b5f8e31fb763dae authored by Junio C Hamano on 06 May 2007, 08:07:04 UTC
GIT v1.5.2-rc2
Tip revision: 9159afb
xdiff-interface.h
#ifndef XDIFF_INTERFACE_H
#define XDIFF_INTERFACE_H

#include "xdiff/xdiff.h"

struct xdiff_emit_state;

typedef void (*xdiff_emit_consume_fn)(void *, char *, unsigned long);

struct xdiff_emit_state {
	xdiff_emit_consume_fn consume;
	char *remainder;
	unsigned long remainder_size;
};

int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf);
int parse_hunk_header(char *line, int len,
		      int *ob, int *on,
		      int *nb, int *nn);
int read_mmfile(mmfile_t *ptr, const char *filename);

#endif
back to top