Lars Hjemli | c5984a9 | 2008-03-24 16:38:47 +0100 | [diff] [blame] | 1 | #ifndef UI_DIFF_H |
| 2 | #define UI_DIFF_H |
| 3 | |
Lars Hjemli | 962a248 | 2011-03-06 23:59:56 +0100 | [diff] [blame^] | 4 | extern void cgit_print_diff_ctrls(); |
| 5 | |
Lars Hjemli | fe1230d | 2008-04-24 23:32:02 +0200 | [diff] [blame] | 6 | extern void cgit_print_diffstat(const unsigned char *old_sha1, |
| 7 | const unsigned char *new_sha1); |
| 8 | |
Lars Hjemli | c5984a9 | 2008-03-24 16:38:47 +0100 | [diff] [blame] | 9 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, |
Lars Hjemli | 962a248 | 2011-03-06 23:59:56 +0100 | [diff] [blame^] | 10 | const char *prefix, int show_ctrls); |
Lars Hjemli | c5984a9 | 2008-03-24 16:38:47 +0100 | [diff] [blame] | 11 | |
Bernhard Reutner-Fischer | e52040b | 2010-12-23 12:47:55 +0100 | [diff] [blame] | 12 | extern struct diff_filespec *cgit_get_current_old_file(void); |
| 13 | extern struct diff_filespec *cgit_get_current_new_file(void); |
| 14 | |
| 15 | extern unsigned char old_rev_sha1[20]; |
| 16 | extern unsigned char new_rev_sha1[20]; |
| 17 | |
Lars Hjemli | c5984a9 | 2008-03-24 16:38:47 +0100 | [diff] [blame] | 18 | #endif /* UI_DIFF_H */ |