]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add a 'stats' page to each repo
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 1615616bbc4dce56b3c1e338da98c9d333e0b0a1..85045c4a98285607e962e59f34788584a7f39ab9 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;
+       int enable_stats;
 };
 
 struct cgit_repolist {
@@ -85,7 +86,7 @@ struct commitinfo {
 struct taginfo {
        char *tagger;
        char *tagger_email;
-       int tagger_date;
+       unsigned long tagger_date;
        char *msg;
 };
 
@@ -118,7 +119,10 @@ struct cgit_query {
        char *path;
        char *name;
        char *mimetype;
+       char *url;
+       char *period;
        int   ofs;
+       int nohead;
 };
 
 struct cgit_config {
@@ -149,6 +153,7 @@ struct cgit_config {
        int enable_index_links;
        int enable_log_filecount;
        int enable_log_linecount;
+       int enable_stats;
        int local_time;
        int max_repo_count;
        int max_commit_count;