aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-05-03 10:37:02 +0200
committerLars Hjemli <hjemli@gmail.com>2008-05-03 10:37:02 +0200
commit141f1c3eb657470e81bbf998f44f9723f9009def (patch)
treea591e720b4a532fc7f53e74d611bb63629c8c5dc /ui-shared.h
parente19683bedebc74593cb4c4518e47a334a5478e1e (diff)
Add cgit_index_link() function with support for offset
This function will be used to build a pager in ui-repolist. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 76c2b1f..3005d30 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -7,6 +7,8 @@ extern char *cgit_fileurl(const char *reponame, const char *pagename,
extern char *cgit_pageurl(const char *reponame, const char *pagename,
const char *query);
+extern void cgit_index_link(char *name, char *title, char *class,
+ char *pattern, int ofs);
extern void cgit_tree_link(char *name, char *title, char *class, char *head,
char *rev, char *path);
extern void cgit_log_link(char *name, char *title, char *class, char *head,