aboutsummaryrefslogtreecommitdiffstats
path: root/ui-diff.h
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2011-03-07 07:59:56 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2011-03-07 07:59:56 (JST)
commit962a24892feb9e3d69542bcf0a219dc14836e921 (patch)
tree991b67cd914a708d83f08dd7f859a9cadbb74490 /ui-diff.h
parent1a64fd2f83affda41fb9903b7c299d35170bfc05 (diff)
downloadcgit-962a24892feb9e3d69542bcf0a219dc14836e921.zip
cgit-962a24892feb9e3d69542bcf0a219dc14836e921.tar.gz
ui-diff.c: create a control panel for diff options
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-diff.h')
-rw-r--r--ui-diff.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-diff.h b/ui-diff.h
index 12d0c62..0161ffb 100644
--- a/ui-diff.h
+++ b/ui-diff.h
@@ -1,11 +1,13 @@
1#ifndef UI_DIFF_H 1#ifndef UI_DIFF_H
2#define UI_DIFF_H 2#define UI_DIFF_H
3 3
4extern void cgit_print_diff_ctrls();
5
4extern void cgit_print_diffstat(const unsigned char *old_sha1, 6extern void cgit_print_diffstat(const unsigned char *old_sha1,
5 const unsigned char *new_sha1); 7 const unsigned char *new_sha1);
6 8
7extern void cgit_print_diff(const char *new_hex, const char *old_hex, 9extern void cgit_print_diff(const char *new_hex, const char *old_hex,
8 const char *prefix); 10 const char *prefix, int show_ctrls);
9 11
10extern struct diff_filespec *cgit_get_current_old_file(void); 12extern struct diff_filespec *cgit_get_current_old_file(void);
11extern struct diff_filespec *cgit_get_current_new_file(void); 13extern struct diff_filespec *cgit_get_current_new_file(void);