about summary refs log tree commit diff stats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorJeff Smith2017-10-01 23:39:09 -0500
committerJohn Keeping2017-10-03 19:19:34 +0100
commit1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1 (patch)
tree02c1f7371b837453b774590dbacf647c71693309 /ui-shared.h
parentui-blame: add blame UI (diff)
downloadcgit-1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1.tar.gz
cgit-1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1.zip
ui-tree: link to blame UI if enabled
Create links to the blame page.

Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h index 2cd7ac9..b760a17 100644 --- a/ui-shared.h +++ b/ui-shared.h
@@ -26,6 +26,9 @@ extern void cgit_tree_link(const char *name, const char *title,
26extern void cgit_plain_link(const char *name, const char *title, 26extern void cgit_plain_link(const char *name, const char *title,
27 const char *class, const char *head, 27 const char *class, const char *head,
28 const char *rev, const char *path); 28 const char *rev, const char *path);
29extern void cgit_blame_link(const char *name, const char *title,
30 const char *class, const char *head,
31 const char *rev, const char *path);
29extern void cgit_log_link(const char *name, const char *title, 32extern void cgit_log_link(const char *name, const char *title,
30 const char *class, const char *head, const char *rev, 33 const char *class, const char *head, const char *rev,
31 const char *path, int ofs, const char *grep, 34 const char *path, int ofs, const char *grep,