]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.h
ui-shared: rename parameter to cgit_print_snapshot_links()
[cgit.git] / ui-shared.h
index 2cd7ac95611a84549431330ffeced2fc01b632b8..d44d7c6323d5632212462cd85318f8a4d97b1f47 100644 (file)
@@ -26,6 +26,9 @@ extern void cgit_tree_link(const char *name, const char *title,
 extern void cgit_plain_link(const char *name, const char *title,
                            const char *class, const char *head,
                            const char *rev, const char *path);
+extern void cgit_blame_link(const char *name, const char *title,
+                           const char *class, const char *head,
+                           const char *rev, const char *path);
 extern void cgit_log_link(const char *name, const char *title,
                          const char *class, const char *head, const char *rev,
                          const char *path, int ofs, const char *grep,
@@ -73,8 +76,9 @@ extern void cgit_print_pageheader(void);
 extern void cgit_print_filemode(unsigned short mode);
 extern void cgit_compose_snapshot_prefix(struct strbuf *filename,
                                         const char *base, const char *ref);
-extern void cgit_print_snapshot_links(const char *repo, const char *head,
-                                     const char *hex, int snapshots);
+extern void cgit_print_snapshot_links(const struct cgit_repo *repo,
+                                     const char *ref);
+extern const char *cgit_snapshot_prefix(const struct cgit_repo *repo);
 extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
                                       const char *page);