aboutsummaryrefslogtreecommitdiff
path: root/ui-diff.h
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-12-31 17:04:15 +0100
committerKatharina Fey <kookie@spacekookie.de>2020-12-31 17:08:57 +0100
commit8ba998aa82d477b87e4a73edf89aceaec0da68f2 (patch)
tree52510a5422bc724fff29a5714d86b137a37cc111 /ui-diff.h
Code dump from TVL repoHEADmaster
Diffstat (limited to 'ui-diff.h')
-rw-r--r--ui-diff.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ui-diff.h b/ui-diff.h
new file mode 100644
index 0000000..39264a1
--- /dev/null
+++ b/ui-diff.h
@@ -0,0 +1,15 @@
+#ifndef UI_DIFF_H
+#define UI_DIFF_H
+
+extern void cgit_print_diff_ctrls(void);
+
+extern void cgit_print_diff(const char *new_hex, const char *old_hex,
+ const char *prefix, int show_ctrls, int raw);
+
+extern struct diff_filespec *cgit_get_current_old_file(void);
+extern struct diff_filespec *cgit_get_current_new_file(void);
+
+extern struct object_id old_rev_oid[1];
+extern struct object_id new_rev_oid[1];
+
+#endif /* UI_DIFF_H */