diff options
Diffstat (limited to 'cgit.h')
| -rw-r--r-- | cgit.h | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -73,6 +73,7 @@ struct cgit_repo { | |||
| 73 | int enable_log_filecount; | 73 | int enable_log_filecount; |
| 74 | int enable_log_linecount; | 74 | int enable_log_linecount; |
| 75 | int enable_remote_branches; | 75 | int enable_remote_branches; |
| 76 | int enable_subject_links; | ||
| 76 | int max_stats; | 77 | int max_stats; |
| 77 | time_t mtime; | 78 | time_t mtime; |
| 78 | struct cgit_filter *about_filter; | 79 | struct cgit_filter *about_filter; |
| @@ -145,6 +146,9 @@ struct cgit_query { | |||
| 145 | char *sort; | 146 | char *sort; |
| 146 | int showmsg; | 147 | int showmsg; |
| 147 | int ssdiff; | 148 | int ssdiff; |
| 149 | int show_all; | ||
| 150 | int context; | ||
| 151 | char *vpath; | ||
| 148 | }; | 152 | }; |
| 149 | 153 | ||
| 150 | struct cgit_config { | 154 | struct cgit_config { |
| @@ -181,8 +185,10 @@ struct cgit_config { | |||
| 181 | int enable_log_filecount; | 185 | int enable_log_filecount; |
| 182 | int enable_log_linecount; | 186 | int enable_log_linecount; |
| 183 | int enable_remote_branches; | 187 | int enable_remote_branches; |
| 188 | int enable_subject_links; | ||
| 184 | int enable_tree_linenumbers; | 189 | int enable_tree_linenumbers; |
| 185 | int local_time; | 190 | int local_time; |
| 191 | int max_atom_items; | ||
| 186 | int max_repo_count; | 192 | int max_repo_count; |
| 187 | int max_commit_count; | 193 | int max_commit_count; |
| 188 | int max_lock_attempts; | 194 | int max_lock_attempts; |
| @@ -273,7 +279,7 @@ extern void *cgit_free_commitinfo(struct commitinfo *info); | |||
| 273 | extern int cgit_diff_files(const unsigned char *old_sha1, | 279 | extern int cgit_diff_files(const unsigned char *old_sha1, |
| 274 | const unsigned char *new_sha1, | 280 | const unsigned char *new_sha1, |
| 275 | unsigned long *old_size, unsigned long *new_size, | 281 | unsigned long *old_size, unsigned long *new_size, |
| 276 | int *binary, linediff_fn fn); | 282 | int *binary, int context, linediff_fn fn); |
| 277 | 283 | ||
| 278 | extern void cgit_diff_tree(const unsigned char *old_sha1, | 284 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
| 279 | const unsigned char *new_sha1, | 285 | const unsigned char *new_sha1, |
