|
diff --git a/cgit.h b/cgit.h index 6c6c460..8f5dd2a 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -21,2 +21,3 @@ |
21 | #include <utf8.h> |
21 | #include <utf8.h> |
| |
22 | #include <notes.h> |
22 | |
23 | |
@@ -74,2 +75,4 @@ struct cgit_repo { |
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; |
@@ -145,2 +148,7 @@ struct cgit_query { |
145 | int showmsg; |
148 | int showmsg; |
| |
149 | int ssdiff; |
| |
150 | int show_all; |
| |
151 | int context; |
| |
152 | int ignorews; |
| |
153 | char *vpath; |
146 | }; |
154 | }; |
@@ -161,2 +169,4 @@ struct cgit_config { |
161 | char *module_link; |
169 | char *module_link; |
| |
170 | char *project_list; |
| |
171 | char *readme; |
162 | char *robots; |
172 | char *robots; |
@@ -177,2 +187,3 @@ struct cgit_config { |
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; |
@@ -180,4 +191,7 @@ struct cgit_config { |
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; |
@@ -187,2 +201,3 @@ struct cgit_config { |
187 | int max_repodesc_len; |
201 | int max_repodesc_len; |
| |
202 | int max_blob_size; |
188 | int max_stats; |
203 | int max_stats; |
@@ -192,2 +207,4 @@ struct cgit_config { |
192 | int renamelimit; |
207 | int renamelimit; |
| |
208 | int remove_suffix; |
| |
209 | int section_from_path; |
193 | int snapshots; |
210 | int snapshots; |
@@ -196,2 +213,3 @@ struct cgit_config { |
196 | int summary_tags; |
213 | int summary_tags; |
| |
214 | int ssdiff; |
197 | struct string_list mimetypes; |
215 | struct string_list mimetypes; |
@@ -270,3 +288,4 @@ extern int cgit_diff_files(const unsigned char *old_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 | |
@@ -274,3 +293,3 @@ 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 | |
@@ -278,2 +297,3 @@ 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,...); |
@@ -293,2 +313,4 @@ 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 */ |
|