2008-03-24 15:38:47 +00:00
|
|
|
#ifndef UI_DIFF_H
|
|
|
|
#define UI_DIFF_H
|
|
|
|
|
2016-01-13 22:25:07 +00:00
|
|
|
extern void cgit_print_diff_ctrls(void);
|
2011-03-06 22:59:56 +00:00
|
|
|
|
2008-03-24 15:38:47 +00:00
|
|
|
extern void cgit_print_diff(const char *new_hex, const char *old_hex,
|
2013-08-14 08:50:32 +00:00
|
|
|
const char *prefix, int show_ctrls, int raw);
|
2008-03-24 15:38:47 +00:00
|
|
|
|
2010-12-23 11:47:55 +00:00
|
|
|
extern struct diff_filespec *cgit_get_current_old_file(void);
|
|
|
|
extern struct diff_filespec *cgit_get_current_new_file(void);
|
|
|
|
|
2016-09-04 10:38:18 +00:00
|
|
|
extern struct object_id old_rev_oid[1];
|
|
|
|
extern struct object_id new_rev_oid[1];
|
2010-12-23 11:47:55 +00:00
|
|
|
|
2008-03-24 15:38:47 +00:00
|
|
|
#endif /* UI_DIFF_H */
|