]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
ui-repolist: implement lazy caching of repo->mtime
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index d07185cf6c16ff6aa1d0e64256e78fd625dcd8e0..c99d3377b8f962402b10b6aebd5230f77ff1ec2d 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -61,6 +61,7 @@ struct cgit_repo {
        int snapshots;
        int enable_log_filecount;
        int enable_log_linecount;
+       time_t mtime;
 };
 
 struct cgit_repolist {
@@ -120,6 +121,8 @@ struct cgit_query {
        char *mimetype;
        char *url;
        int   ofs;
+       int nohead;
+       char *sort;
 };
 
 struct cgit_config {