]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Rename 'repo.scan' to 'scan-path'
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index d90ccdcafff809bff7734f1949f3a84f5cbd18ee..565958056517da0f76ab07977809334cc0ae0520 100644 (file)
--- 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 */