]> 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 91db98aa900061046fa342935f78bd82a89b665b..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 {
@@ -121,6 +122,7 @@ struct cgit_query {
        char *url;
        int   ofs;
        int nohead;
+       char *sort;
 };
 
 struct cgit_config {