X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7250a154678477a1e8260efbc9810ec389754ef9..dad80d1ff8e065002cdf4e37252164a7f8517a5b:/cgit.h diff --git a/cgit.h b/cgit.h index 2615231..b7f8827 100644 --- a/cgit.h +++ b/cgit.h @@ -33,6 +33,7 @@ struct repoinfo { char *path; char *desc; char *owner; + char *module_link; int snapshots; }; @@ -70,6 +71,7 @@ extern char *cgit_root_title; extern char *cgit_css; extern char *cgit_logo; extern char *cgit_logo_link; +extern char *cgit_module_link; extern char *cgit_virtual_root; extern char *cgit_cache_root; @@ -156,6 +158,7 @@ extern void cgit_print_repolist(struct cacheitem *item); extern void cgit_print_summary(); extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep); extern void cgit_print_view(const char *hex, char *path); +extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); extern void cgit_print_tree(const char *hex, char *path); extern void cgit_print_commit(const char *hex); extern void cgit_print_diff(const char *old_hex, const char *new_hex);