author | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 09:42:12 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 09:42:12 (UTC) |
commit | c2766deb67acb1eae2b36dc0f5811a9cabb6db20 (patch) (unidiff) | |
tree | 463ea4a4388f2c449dec9eb49b33f9c0942030d1 /cgit.h | |
parent | caf0825d97582d137387b8879867247e92cca022 (diff) | |
parent | 80476b0d2873eb212fad38487fd6189bd6629cbe (diff) | |
download | cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.zip cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.tar.gz cgit-c2766deb67acb1eae2b36dc0f5811a9cabb6db20.tar.bz2 |
Merge branch 'ag/atom-fixes'
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -117,103 +117,105 @@ struct refinfo { | |||
117 | struct taginfo *tag; | 117 | struct taginfo *tag; |
118 | struct commitinfo *commit; | 118 | struct commitinfo *commit; |
119 | }; | 119 | }; |
120 | }; | 120 | }; |
121 | 121 | ||
122 | struct reflist { | 122 | struct reflist { |
123 | struct refinfo **refs; | 123 | struct refinfo **refs; |
124 | int alloc; | 124 | int alloc; |
125 | int count; | 125 | int count; |
126 | }; | 126 | }; |
127 | 127 | ||
128 | struct cgit_query { | 128 | struct cgit_query { |
129 | int has_symref; | 129 | int has_symref; |
130 | int has_sha1; | 130 | int has_sha1; |
131 | char *raw; | 131 | char *raw; |
132 | char *repo; | 132 | char *repo; |
133 | char *page; | 133 | char *page; |
134 | char *search; | 134 | char *search; |
135 | char *grep; | 135 | char *grep; |
136 | char *head; | 136 | char *head; |
137 | char *sha1; | 137 | char *sha1; |
138 | char *sha2; | 138 | char *sha2; |
139 | char *path; | 139 | char *path; |
140 | char *name; | 140 | char *name; |
141 | char *mimetype; | 141 | char *mimetype; |
142 | char *url; | 142 | char *url; |
143 | char *period; | 143 | char *period; |
144 | int ofs; | 144 | int ofs; |
145 | int nohead; | 145 | int nohead; |
146 | char *sort; | 146 | char *sort; |
147 | int showmsg; | 147 | int showmsg; |
148 | int ssdiff; | 148 | int ssdiff; |
149 | int show_all; | ||
149 | }; | 150 | }; |
150 | 151 | ||
151 | struct cgit_config { | 152 | struct cgit_config { |
152 | char *agefile; | 153 | char *agefile; |
153 | char *cache_root; | 154 | char *cache_root; |
154 | char *clone_prefix; | 155 | char *clone_prefix; |
155 | char *css; | 156 | char *css; |
156 | char *favicon; | 157 | char *favicon; |
157 | char *footer; | 158 | char *footer; |
158 | char *head_include; | 159 | char *head_include; |
159 | char *header; | 160 | char *header; |
160 | char *index_header; | 161 | char *index_header; |
161 | char *index_info; | 162 | char *index_info; |
162 | char *logo; | 163 | char *logo; |
163 | char *logo_link; | 164 | char *logo_link; |
164 | char *module_link; | 165 | char *module_link; |
165 | char *robots; | 166 | char *robots; |
166 | char *root_title; | 167 | char *root_title; |
167 | char *root_desc; | 168 | char *root_desc; |
168 | char *root_readme; | 169 | char *root_readme; |
169 | char *script_name; | 170 | char *script_name; |
170 | char *section; | 171 | char *section; |
171 | char *virtual_root; | 172 | char *virtual_root; |
172 | int cache_size; | 173 | int cache_size; |
173 | int cache_dynamic_ttl; | 174 | int cache_dynamic_ttl; |
174 | int cache_max_create_time; | 175 | int cache_max_create_time; |
175 | int cache_repo_ttl; | 176 | int cache_repo_ttl; |
176 | int cache_root_ttl; | 177 | int cache_root_ttl; |
177 | int cache_scanrc_ttl; | 178 | int cache_scanrc_ttl; |
178 | int cache_static_ttl; | 179 | int cache_static_ttl; |
179 | int embedded; | 180 | int embedded; |
180 | int enable_filter_overrides; | 181 | int enable_filter_overrides; |
181 | int enable_index_links; | 182 | int enable_index_links; |
182 | int enable_log_filecount; | 183 | int enable_log_filecount; |
183 | int enable_log_linecount; | 184 | int enable_log_linecount; |
184 | int enable_remote_branches; | 185 | int enable_remote_branches; |
185 | int enable_subject_links; | 186 | int enable_subject_links; |
186 | int enable_tree_linenumbers; | 187 | int enable_tree_linenumbers; |
187 | int local_time; | 188 | int local_time; |
189 | int max_atom_items; | ||
188 | int max_repo_count; | 190 | int max_repo_count; |
189 | int max_commit_count; | 191 | int max_commit_count; |
190 | int max_lock_attempts; | 192 | int max_lock_attempts; |
191 | int max_msg_len; | 193 | int max_msg_len; |
192 | int max_repodesc_len; | 194 | int max_repodesc_len; |
193 | int max_blob_size; | 195 | int max_blob_size; |
194 | int max_stats; | 196 | int max_stats; |
195 | int nocache; | 197 | int nocache; |
196 | int noplainemail; | 198 | int noplainemail; |
197 | int noheader; | 199 | int noheader; |
198 | int renamelimit; | 200 | int renamelimit; |
199 | int snapshots; | 201 | int snapshots; |
200 | int summary_branches; | 202 | int summary_branches; |
201 | int summary_log; | 203 | int summary_log; |
202 | int summary_tags; | 204 | int summary_tags; |
203 | int ssdiff; | 205 | int ssdiff; |
204 | struct string_list mimetypes; | 206 | struct string_list mimetypes; |
205 | struct cgit_filter *about_filter; | 207 | struct cgit_filter *about_filter; |
206 | struct cgit_filter *commit_filter; | 208 | struct cgit_filter *commit_filter; |
207 | struct cgit_filter *source_filter; | 209 | struct cgit_filter *source_filter; |
208 | }; | 210 | }; |
209 | 211 | ||
210 | struct cgit_page { | 212 | struct cgit_page { |
211 | time_t modified; | 213 | time_t modified; |
212 | time_t expires; | 214 | time_t expires; |
213 | size_t size; | 215 | size_t size; |
214 | char *mimetype; | 216 | char *mimetype; |
215 | char *charset; | 217 | char *charset; |
216 | char *filename; | 218 | char *filename; |
217 | char *etag; | 219 | char *etag; |
218 | char *title; | 220 | char *title; |
219 | int status; | 221 | int status; |