]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.h
Add "snapshot-prefix" repo configuration
[ps-cgit] / ui-shared.h
index b760a17badbbd89bb87adeabeef56412a175a426..92a1755012f163370bd4782f9a2bbcf30c8983ae 100644 (file)
@@ -76,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 *head, const char *hex);
+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);