]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.h
Add cgit_index_link() function with support for offset
[cgit.git] / ui-shared.h
index 94de884b8257d73f74aaba7c8323528a175be467..3005d305d41a3bf916e63093a61d4589a8399c10 100644 (file)
@@ -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,
@@ -14,6 +16,8 @@ extern void cgit_log_link(char *name, char *title, char *class, char *head,
                          char *pattern);
 extern void cgit_commit_link(char *name, char *title, char *class, char *head,
                             char *rev);
+extern void cgit_patch_link(char *name, char *title, char *class, char *head,
+                           char *rev);
 extern void cgit_refs_link(char *name, char *title, char *class, char *head,
                           char *rev, char *path);
 extern void cgit_snapshot_link(char *name, char *title, char *class,