Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index b01fa31..e2af0c2 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -156,24 +156,25 @@ struct cgit_config { |
156 | int max_repodesc_len; |
156 | int max_repodesc_len; |
157 | int nocache; |
157 | int nocache; |
158 | int renamelimit; |
158 | int renamelimit; |
159 | int snapshots; |
159 | int snapshots; |
160 | int summary_branches; |
160 | int summary_branches; |
161 | int summary_log; |
161 | int summary_log; |
162 | int summary_tags; |
162 | int summary_tags; |
163 | }; |
163 | }; |
164 | |
164 | |
165 | struct cgit_page { |
165 | struct cgit_page { |
166 | time_t modified; |
166 | time_t modified; |
167 | time_t expires; |
167 | time_t expires; |
| |
168 | size_t size; |
168 | char *mimetype; |
169 | char *mimetype; |
169 | char *charset; |
170 | char *charset; |
170 | char *filename; |
171 | char *filename; |
171 | char *title; |
172 | char *title; |
172 | }; |
173 | }; |
173 | |
174 | |
174 | struct cgit_context { |
175 | struct cgit_context { |
175 | struct cgit_query qry; |
176 | struct cgit_query qry; |
176 | struct cgit_config cfg; |
177 | struct cgit_config cfg; |
177 | struct cgit_repo *repo; |
178 | struct cgit_repo *repo; |
178 | struct cgit_page page; |
179 | struct cgit_page page; |
179 | }; |
180 | }; |
|