]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add support for a custom header
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index cb2f176f621f52d60489dd817d2776411360b3bf..4942b96277e56752cb227cbda954a20892e1288b 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 snapshots;
        int enable_log_filecount;
        int enable_log_linecount;
+       int max_stats;
        time_t mtime;
 };
 
        time_t mtime;
 };
 
@@ -120,6 +121,7 @@ struct cgit_query {
        char *name;
        char *mimetype;
        char *url;
        char *name;
        char *mimetype;
        char *url;
+       char *period;
        int   ofs;
        int nohead;
        char *sort;
        int   ofs;
        int nohead;
        char *sort;
@@ -133,6 +135,7 @@ struct cgit_config {
        char *css;
        char *favicon;
        char *footer;
        char *css;
        char *favicon;
        char *footer;
+       char *header;
        char *index_header;
        char *index_info;
        char *logo;
        char *index_header;
        char *index_info;
        char *logo;
@@ -160,6 +163,7 @@ struct cgit_config {
        int max_lock_attempts;
        int max_msg_len;
        int max_repodesc_len;
        int max_lock_attempts;
        int max_msg_len;
        int max_repodesc_len;
+       int max_stats;
        int nocache;
        int renamelimit;
        int snapshots;
        int nocache;
        int renamelimit;
        int snapshots;