]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.h
Add support for including a footer on all pages
[cgit.git] / cgit.h
diff --git a/cgit.h b/cgit.h
index a3b65354388018646a58e0b6a12a3c28282d4cf6..d18d9ca52eb103365aae44901d1983598737bd98 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -116,6 +116,7 @@ struct cgit_query {
        char *sha2;
        char *path;
        char *name;
+       char *mimetype;
        int   ofs;
 };
 
@@ -124,6 +125,7 @@ struct cgit_config {
        char *cache_root;
        char *clone_prefix;
        char *css;
+       char *footer;
        char *index_header;
        char *index_info;
        char *logo;
@@ -132,8 +134,11 @@ struct cgit_config {
        char *repo_group;
        char *robots;
        char *root_title;
+       char *root_desc;
+       char *root_readme;
        char *script_name;
        char *virtual_root;
+       int cache_size;
        int cache_dynamic_ttl;
        int cache_max_create_time;
        int cache_repo_ttl;
@@ -142,6 +147,7 @@ struct cgit_config {
        int enable_index_links;
        int enable_log_filecount;
        int enable_log_linecount;
+       int max_repo_count;
        int max_commit_count;
        int max_lock_attempts;
        int max_msg_len;