|
diff --git a/cgit.h b/cgit.h index 6c6c460..8f5dd2a 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -20,4 +20,5 @@ |
20 | #include <xdiff/xdiff.h> |
20 | #include <xdiff/xdiff.h> |
21 | #include <utf8.h> |
21 | #include <utf8.h> |
| |
22 | #include <notes.h> |
22 | |
23 | |
23 | |
24 | |
@@ -73,4 +74,6 @@ struct cgit_repo { |
73 | int enable_log_filecount; |
74 | int enable_log_filecount; |
74 | int enable_log_linecount; |
75 | int enable_log_linecount; |
| |
76 | int enable_remote_branches; |
| |
77 | int enable_subject_links; |
75 | int max_stats; |
78 | int max_stats; |
76 | time_t mtime; |
79 | time_t mtime; |
@@ -144,4 +147,9 @@ struct cgit_query { |
144 | char *sort; |
147 | char *sort; |
145 | int showmsg; |
148 | int showmsg; |
| |
149 | int ssdiff; |
| |
150 | int show_all; |
| |
151 | int context; |
| |
152 | int ignorews; |
| |
153 | char *vpath; |
146 | }; |
154 | }; |
147 | |
155 | |
@@ -160,4 +168,6 @@ struct cgit_config { |
160 | char *logo_link; |
168 | char *logo_link; |
161 | char *module_link; |
169 | char *module_link; |
| |
170 | char *project_list; |
| |
171 | char *readme; |
162 | char *robots; |
172 | char *robots; |
163 | char *root_title; |
173 | char *root_title; |
@@ -176,9 +186,13 @@ struct cgit_config { |
176 | int embedded; |
186 | int embedded; |
177 | int enable_filter_overrides; |
187 | int enable_filter_overrides; |
| |
188 | int enable_gitweb_owner; |
178 | int enable_index_links; |
189 | int enable_index_links; |
179 | int enable_log_filecount; |
190 | int enable_log_filecount; |
180 | int enable_log_linecount; |
191 | int enable_log_linecount; |
| |
192 | int enable_remote_branches; |
| |
193 | int enable_subject_links; |
181 | int enable_tree_linenumbers; |
194 | int enable_tree_linenumbers; |
182 | int local_time; |
195 | int local_time; |
| |
196 | int max_atom_items; |
183 | int max_repo_count; |
197 | int max_repo_count; |
184 | int max_commit_count; |
198 | int max_commit_count; |
@@ -186,4 +200,5 @@ struct cgit_config { |
186 | int max_msg_len; |
200 | int max_msg_len; |
187 | int max_repodesc_len; |
201 | int max_repodesc_len; |
| |
202 | int max_blob_size; |
188 | int max_stats; |
203 | int max_stats; |
189 | int nocache; |
204 | int nocache; |
@@ -191,8 +206,11 @@ struct cgit_config { |
191 | int noheader; |
206 | int noheader; |
192 | int renamelimit; |
207 | int renamelimit; |
| |
208 | int remove_suffix; |
| |
209 | int section_from_path; |
193 | int snapshots; |
210 | int snapshots; |
194 | int summary_branches; |
211 | int summary_branches; |
195 | int summary_log; |
212 | int summary_log; |
196 | int summary_tags; |
213 | int summary_tags; |
| |
214 | int ssdiff; |
197 | struct string_list mimetypes; |
215 | struct string_list mimetypes; |
198 | struct cgit_filter *about_filter; |
216 | struct cgit_filter *about_filter; |
@@ -269,12 +287,14 @@ extern int cgit_diff_files(const unsigned char *old_sha1, |
269 | const unsigned char *new_sha1, |
287 | const unsigned char *new_sha1, |
270 | unsigned long *old_size, unsigned long *new_size, |
288 | unsigned long *old_size, unsigned long *new_size, |
271 | int *binary, linediff_fn fn); |
289 | int *binary, int context, int ignorews, |
| |
290 | linediff_fn fn); |
272 | |
291 | |
273 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
292 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
274 | const unsigned char *new_sha1, |
293 | const unsigned char *new_sha1, |
275 | filepair_fn fn, const char *prefix); |
294 | filepair_fn fn, const char *prefix, int ignorews); |
276 | |
295 | |
277 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
296 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
278 | |
297 | |
| |
298 | __attribute__((format (printf,1,2))) |
279 | extern char *fmt(const char *format,...); |
299 | extern char *fmt(const char *format,...); |
280 | |
300 | |
@@ -292,3 +312,5 @@ extern int cgit_close_filter(struct cgit_filter *filter); |
292 | extern int readfile(const char *path, char **buf, size_t *size); |
312 | extern int readfile(const char *path, char **buf, size_t *size); |
293 | |
313 | |
| |
314 | extern char *expand_macros(const char *txt); |
| |
315 | |
294 | #endif /* CGIT_H */ |
316 | #endif /* CGIT_H */ |
|