aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLars Hjemli2008-05-03 10:37:02 +0200
committerLars Hjemli2008-05-03 10:37:02 +0200
commit141f1c3eb657470e81bbf998f44f9723f9009def (patch)
treea591e720b4a532fc7f53e74d611bb63629c8c5dc /ui-shared.h
parente19683bedebc74593cb4c4518e47a334a5478e1e (diff)
downloadcgit-141f1c3eb657470e81bbf998f44f9723f9009def.tar.gz
cgit-141f1c3eb657470e81bbf998f44f9723f9009def.tar.bz2
cgit-141f1c3eb657470e81bbf998f44f9723f9009def.zip
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,
7extern char *cgit_pageurl(const char *reponame, const char *pagename, 7extern char *cgit_pageurl(const char *reponame, const char *pagename,
8 const char *query); 8 const char *query);
9 9
10extern void cgit_index_link(char *name, char *title, char *class,
11 char *pattern, int ofs);
10extern void cgit_tree_link(char *name, char *title, char *class, char *head, 12extern void cgit_tree_link(char *name, char *title, char *class, char *head,
11 char *rev, char *path); 13 char *rev, char *path);
12extern void cgit_log_link(char *name, char *title, char *class, char *head, 14extern void cgit_log_link(char *name, char *title, char *class, char *head,