]> 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 08fd95a528ef9ab925d1bc899cdf70f4f10dd41d..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 {
@@ -118,7 +119,10 @@ struct cgit_query {
        char *path;
        char *name;
        char *mimetype;
+       char *url;
        int   ofs;
+       int nohead;
+       char *sort;
 };
 
 struct cgit_config {