]> git.cameronkatri.com Git - cgit.git/blob - ui-diff.h
ssdiff: anchors for ssdiff
[cgit.git] / ui-diff.h
1 #ifndef UI_DIFF_H
2 #define UI_DIFF_H
3
4 extern void cgit_print_diffstat(const unsigned char *old_sha1,
5 const unsigned char *new_sha1);
6
7 extern void cgit_print_diff(const char *new_hex, const char *old_hex,
8 const char *prefix);
9
10 extern struct diff_filespec *cgit_get_current_old_file(void);
11 extern struct diff_filespec *cgit_get_current_new_file(void);
12
13 extern unsigned char old_rev_sha1[20];
14 extern unsigned char new_rev_sha1[20];
15
16 #endif /* UI_DIFF_H */