From 141f1c3eb657470e81bbf998f44f9723f9009def Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 3 May 2008 10:37:02 +0200 Subject: 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 --- ui-shared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui-shared.h') 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, -- cgit 1.4.1