X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/523c133e2e5f7089a3d18ac23f2074b60991a7f0..00466376922e2f7db02b3c335d46af5eb8991c49:/cgit.h diff --git a/cgit.h b/cgit.h index d90ccdc..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; @@ -283,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 */