X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/5a106eb09b9b5e189b96cc736046a92b054f6c7f..44923f8953c66dc9b852316b655ab3b5aec9478e:/cgit.h diff --git a/cgit.h b/cgit.h index e64fbd7..c1dcc97 100644 --- a/cgit.h +++ b/cgit.h @@ -47,6 +47,10 @@ extern char *cgit_query_sha1; extern int htmlfd; +extern void cgit_global_config_cb(const char *name, const char *value); +extern void cgit_repo_config_cb(const char *name, const char *value); +extern void cgit_querystring_cb(const char *name, const char *value); + extern char *fmt(const char *format,...); extern void html(const char *txt); @@ -65,10 +69,18 @@ extern int cache_unlock(struct cacheitem *item); extern int cache_exist(struct cacheitem *item); extern int cache_expired(struct cacheitem *item); +extern char *cgit_repourl(const char *reponame); +extern char *cgit_pageurl(const char *reponame, const char *pagename, + const char *query); + extern void cgit_print_error(char *msg); extern void cgit_print_docstart(char *title, struct cacheitem *item); extern void cgit_print_docend(); extern void cgit_print_pageheader(char *title); +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); +extern void cgit_print_view(char *hex); #endif /* CGIT_H */