Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index 6c6c460..39853df 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -156,64 +156,65 @@ struct cgit_config { |
156 | char *header; |
156 | char *header; |
157 | char *index_header; |
157 | char *index_header; |
158 | char *index_info; |
158 | char *index_info; |
159 | char *logo; |
159 | char *logo; |
160 | char *logo_link; |
160 | char *logo_link; |
161 | char *module_link; |
161 | char *module_link; |
162 | char *robots; |
162 | char *robots; |
163 | char *root_title; |
163 | char *root_title; |
164 | char *root_desc; |
164 | char *root_desc; |
165 | char *root_readme; |
165 | char *root_readme; |
166 | char *script_name; |
166 | char *script_name; |
167 | char *section; |
167 | char *section; |
168 | char *virtual_root; |
168 | char *virtual_root; |
169 | int cache_size; |
169 | int cache_size; |
170 | int cache_dynamic_ttl; |
170 | int cache_dynamic_ttl; |
171 | int cache_max_create_time; |
171 | int cache_max_create_time; |
172 | int cache_repo_ttl; |
172 | int cache_repo_ttl; |
173 | int cache_root_ttl; |
173 | int cache_root_ttl; |
174 | int cache_scanrc_ttl; |
174 | int cache_scanrc_ttl; |
175 | int cache_static_ttl; |
175 | int cache_static_ttl; |
176 | int embedded; |
176 | int embedded; |
177 | int enable_filter_overrides; |
177 | int enable_filter_overrides; |
178 | int enable_index_links; |
178 | int enable_index_links; |
179 | int enable_log_filecount; |
179 | int enable_log_filecount; |
180 | int enable_log_linecount; |
180 | int enable_log_linecount; |
181 | int enable_tree_linenumbers; |
181 | int enable_tree_linenumbers; |
182 | int local_time; |
182 | int local_time; |
183 | int max_repo_count; |
183 | int max_repo_count; |
184 | int max_commit_count; |
184 | int max_commit_count; |
185 | int max_lock_attempts; |
185 | int max_lock_attempts; |
186 | int max_msg_len; |
186 | int max_msg_len; |
187 | int max_repodesc_len; |
187 | int max_repodesc_len; |
| |
188 | int max_blob_size; |
188 | int max_stats; |
189 | int max_stats; |
189 | int nocache; |
190 | int nocache; |
190 | int noplainemail; |
191 | int noplainemail; |
191 | int noheader; |
192 | int noheader; |
192 | int renamelimit; |
193 | int renamelimit; |
193 | int snapshots; |
194 | int snapshots; |
194 | int summary_branches; |
195 | int summary_branches; |
195 | int summary_log; |
196 | int summary_log; |
196 | int summary_tags; |
197 | int summary_tags; |
197 | struct string_list mimetypes; |
198 | struct string_list mimetypes; |
198 | struct cgit_filter *about_filter; |
199 | struct cgit_filter *about_filter; |
199 | struct cgit_filter *commit_filter; |
200 | struct cgit_filter *commit_filter; |
200 | struct cgit_filter *source_filter; |
201 | struct cgit_filter *source_filter; |
201 | }; |
202 | }; |
202 | |
203 | |
203 | struct cgit_page { |
204 | struct cgit_page { |
204 | time_t modified; |
205 | time_t modified; |
205 | time_t expires; |
206 | time_t expires; |
206 | size_t size; |
207 | size_t size; |
207 | char *mimetype; |
208 | char *mimetype; |
208 | char *charset; |
209 | char *charset; |
209 | char *filename; |
210 | char *filename; |
210 | char *etag; |
211 | char *etag; |
211 | char *title; |
212 | char *title; |
212 | int status; |
213 | int status; |
213 | char *statusmsg; |
214 | char *statusmsg; |
214 | }; |
215 | }; |
215 | |
216 | |
216 | struct cgit_environment { |
217 | struct cgit_environment { |
217 | char *cgit_config; |
218 | char *cgit_config; |
218 | char *http_host; |
219 | char *http_host; |
219 | char *https; |
220 | char *https; |
|