aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-06-22 08:49:57 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-16 23:57:00 +0200
commitc028b604ef666d64a8aa9ebdfcf69675cd5d13fb (patch)
tree9c69df9b766d56d3c91c7c88c5ceb8ba40cb9dc1 /ui-shared.h
parentui-repolist: Rename section-sort to repository-sort. (diff)
downloadcgit-c028b604ef666d64a8aa9ebdfcf69675cd5d13fb.tar.xz
cgit-c028b604ef666d64a8aa9ebdfcf69675cd5d13fb.zip
Grep the source, Lukelh/grep
This is a PoC for grepping the blobs in the current tree. Signed-off-by: Lars Hjemli <larsh@hjemli.net>
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 87a7dac..35dca9c 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -20,6 +20,9 @@ extern void cgit_tag_link(const char *name, const char *title,
extern void cgit_tree_link(const char *name, const char *title,
const char *class, const char *head,
const char *rev, const char *path);
+extern void cgit_tree_link2(const char *name, const char *title,
+ const char *class, const char *head,
+ const char *rev, const char *path, int lno);
extern void cgit_plain_link(const char *name, const char *title,
const char *class, const char *head,
const char *rev, const char *path);