summaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-05 12:22:35 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-05 12:22:35 -0700
commitc1e335a43fb4c2f422b4d78693b2344114209632 (patch)
tree182e936a9e746ee5ea671e02b2e4af11ef0929b3 /xdiff-interface.h
parentd9ea73e0564c7db8d791fe6b03c976ce57c9b079 (diff)
downloadgit-c1e335a43fb4c2f422b4d78693b2344114209632.tar.gz
combine-diff: move the code to parse hunk-header into common library.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'xdiff-interface.h')
-rw-r--r--xdiff-interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xdiff-interface.h b/xdiff-interface.h
index e2f0d66123..ec682a2971 100644
--- a/xdiff-interface.h
+++ b/xdiff-interface.h
@@ -14,5 +14,8 @@ struct xdiff_emit_state {
};
int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf);
+int parse_hunk_header(char *line, int len,
+ unsigned int *ob, unsigned int *on,
+ unsigned int *nb, unsigned int *nn);
#endif