X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/60a26272e0ca529407fe6b613f061f04ba585d53..00466376922e2f7db02b3c335d46af5eb8991c49:/cgit.h diff --git a/cgit.h b/cgit.h index 893231d..5659580 100644 --- a/cgit.h +++ b/cgit.h @@ -168,6 +168,7 @@ struct cgit_config { int cache_max_create_time; int cache_repo_ttl; int cache_root_ttl; + int cache_scanrc_ttl; int cache_static_ttl; int embedded; int enable_index_links; @@ -211,6 +212,7 @@ struct cgit_environment { char *cgit_config; char *http_host; char *https; + char *no_http; char *path_info; char *query_string; char *request_method; @@ -282,5 +284,6 @@ extern int cgit_parse_snapshots_mask(const char *str); extern int cgit_open_filter(struct cgit_filter *filter); extern int cgit_close_filter(struct cgit_filter *filter); +extern int readfile(const char *path, char **buf, size_t *size); #endif /* CGIT_H */