summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (show whitespace changes)
-rw-r--r--cgit.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index 6c6c460..4090cd4 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,3 @@ struct cgit_config {
161 char *module_link; 169 char *module_link;
170 char *project_list;
162 char *robots; 171 char *robots;
@@ -177,2 +186,3 @@ struct cgit_config {
177 int enable_filter_overrides; 186 int enable_filter_overrides;
187 int enable_gitweb_owner;
178 int enable_index_links; 188 int enable_index_links;
@@ -180,4 +190,7 @@ struct cgit_config {
180 int enable_log_linecount; 190 int enable_log_linecount;
191 int enable_remote_branches;
192 int enable_subject_links;
181 int enable_tree_linenumbers; 193 int enable_tree_linenumbers;
182 int local_time; 194 int local_time;
195 int max_atom_items;
183 int max_repo_count; 196 int max_repo_count;
@@ -187,2 +200,3 @@ struct cgit_config {
187 int max_repodesc_len; 200 int max_repodesc_len;
201 int max_blob_size;
188 int max_stats; 202 int max_stats;
@@ -192,2 +206,3 @@ struct cgit_config {
192 int renamelimit; 206 int renamelimit;
207 int remove_suffix;
193 int snapshots; 208 int snapshots;
@@ -196,2 +211,3 @@ struct cgit_config {
196 int summary_tags; 211 int summary_tags;
212 int ssdiff;
197 struct string_list mimetypes; 213 struct string_list mimetypes;
@@ -270,3 +286,4 @@ extern int cgit_diff_files(const unsigned char *old_sha1,
270 unsigned long *old_size, unsigned long *new_size, 286 unsigned long *old_size, unsigned long *new_size,
271 int *binary, linediff_fn fn); 287 int *binary, int context, int ignorews,
288 linediff_fn fn);
272 289
@@ -274,3 +291,3 @@ extern void cgit_diff_tree(const unsigned char *old_sha1,
274 const unsigned char *new_sha1, 291 const unsigned char *new_sha1,
275 filepair_fn fn, const char *prefix); 292 filepair_fn fn, const char *prefix, int ignorews);
276 293
@@ -293,2 +310,4 @@ extern int readfile(const char *path, char **buf, size_t *size);
293 310
311extern char *expand_macros(const char *txt);
312
294#endif /* CGIT_H */ 313#endif /* CGIT_H */