summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index d18d9ca..7881aca 100644
--- a/cgit.h
+++ b/cgit.h
@@ -96,64 +96,65 @@ struct refinfo {
96 struct commitinfo *commit; 96 struct commitinfo *commit;
97 }; 97 };
98}; 98};
99 99
100struct reflist { 100struct reflist {
101 struct refinfo **refs; 101 struct refinfo **refs;
102 int alloc; 102 int alloc;
103 int count; 103 int count;
104}; 104};
105 105
106struct cgit_query { 106struct cgit_query {
107 int has_symref; 107 int has_symref;
108 int has_sha1; 108 int has_sha1;
109 char *raw; 109 char *raw;
110 char *repo; 110 char *repo;
111 char *page; 111 char *page;
112 char *search; 112 char *search;
113 char *grep; 113 char *grep;
114 char *head; 114 char *head;
115 char *sha1; 115 char *sha1;
116 char *sha2; 116 char *sha2;
117 char *path; 117 char *path;
118 char *name; 118 char *name;
119 char *mimetype; 119 char *mimetype;
120 int ofs; 120 int ofs;
121}; 121};
122 122
123struct cgit_config { 123struct cgit_config {
124 char *agefile; 124 char *agefile;
125 char *cache_root; 125 char *cache_root;
126 char *clone_prefix; 126 char *clone_prefix;
127 char *css; 127 char *css;
128 char *favicon;
128 char *footer; 129 char *footer;
129 char *index_header; 130 char *index_header;
130 char *index_info; 131 char *index_info;
131 char *logo; 132 char *logo;
132 char *logo_link; 133 char *logo_link;
133 char *module_link; 134 char *module_link;
134 char *repo_group; 135 char *repo_group;
135 char *robots; 136 char *robots;
136 char *root_title; 137 char *root_title;
137 char *root_desc; 138 char *root_desc;
138 char *root_readme; 139 char *root_readme;
139 char *script_name; 140 char *script_name;
140 char *virtual_root; 141 char *virtual_root;
141 int cache_size; 142 int cache_size;
142 int cache_dynamic_ttl; 143 int cache_dynamic_ttl;
143 int cache_max_create_time; 144 int cache_max_create_time;
144 int cache_repo_ttl; 145 int cache_repo_ttl;
145 int cache_root_ttl; 146 int cache_root_ttl;
146 int cache_static_ttl; 147 int cache_static_ttl;
147 int enable_index_links; 148 int enable_index_links;
148 int enable_log_filecount; 149 int enable_log_filecount;
149 int enable_log_linecount; 150 int enable_log_linecount;
150 int max_repo_count; 151 int max_repo_count;
151 int max_commit_count; 152 int max_commit_count;
152 int max_lock_attempts; 153 int max_lock_attempts;
153 int max_msg_len; 154 int max_msg_len;
154 int max_repodesc_len; 155 int max_repodesc_len;
155 int nocache; 156 int nocache;
156 int renamelimit; 157 int renamelimit;
157 int snapshots; 158 int snapshots;
158 int summary_branches; 159 int summary_branches;
159 int summary_log; 160 int summary_log;