]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.h
snapshot: support special value 'all' to enable all formats
[cgit.git] / cgit.h
diff --git a/cgit.h b/cgit.h
index 005ae63017050f0e6d5821fd51515ca0775f4469..a686390499b218d027cfbfdeb69397d1aa672ba3 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -88,6 +88,7 @@ struct cgit_repo {
        char *clone_url;
        char *logo;
        char *logo_link;
+       char *snapshot_prefix;
        int snapshots;
        int enable_commit_graph;
        int enable_log_filecount;
@@ -373,6 +374,8 @@ extern void cgit_parse_url(const char *url);
 extern const char *cgit_repobasename(const char *reponame);
 
 extern int cgit_parse_snapshots_mask(const char *str);
+extern const struct object_id *cgit_snapshot_get_sig(const char *ref,
+                                                    const struct cgit_snapshot_format *f);
 
 extern int cgit_open_filter(struct cgit_filter *filter, ...);
 extern int cgit_close_filter(struct cgit_filter *filter);