X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7105a78b17b118866aee77735e26cffcd1fd08fd..c326f3eb026d67650f79a6dda9a1a42c55d10a25:/cgit.h diff --git a/cgit.h b/cgit.h index f327627..de5c94a 100644 --- a/cgit.h +++ b/cgit.h @@ -101,6 +101,7 @@ struct cgit_repo { int enable_log_linecount; int enable_remote_branches; int enable_subject_links; + int enable_html_serving; int max_stats; int branch_sort; int commit_sort; @@ -173,7 +174,6 @@ struct cgit_query { char *sha2; char *path; char *name; - char *mimetype; char *url; char *period; int ofs; @@ -236,6 +236,7 @@ struct cgit_config { int enable_log_linecount; int enable_remote_branches; int enable_subject_links; + int enable_html_serving; int enable_tree_linenumbers; int enable_git_config; int local_time; @@ -391,4 +392,6 @@ extern int readfile(const char *path, char **buf, size_t *size); extern char *expand_macros(const char *txt); +extern char *get_mimetype_for_filename(const char *filename); + #endif /* CGIT_H */