-rw-r--r-- | cgit.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -68,16 +68,17 @@ struct cgit_repo { char *module_link; char *readme; char *section; char *clone_url; int snapshots; int enable_log_filecount; int enable_log_linecount; int enable_remote_branches; + int enable_subject_links; int max_stats; time_t mtime; struct cgit_filter *about_filter; struct cgit_filter *commit_filter; struct cgit_filter *source_filter; }; typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name, @@ -140,16 +141,17 @@ struct cgit_query { char *mimetype; char *url; char *period; int ofs; int nohead; char *sort; int showmsg; int ssdiff; + int show_all; int context; int ignorews; char *vpath; }; struct cgit_config { char *agefile; char *cache_root; @@ -179,18 +181,20 @@ struct cgit_config { int cache_scanrc_ttl; int cache_static_ttl; int embedded; int enable_filter_overrides; int enable_index_links; int enable_log_filecount; int enable_log_linecount; int enable_remote_branches; + int enable_subject_links; int enable_tree_linenumbers; int local_time; + int max_atom_items; int max_repo_count; int max_commit_count; int max_lock_attempts; int max_msg_len; int max_repodesc_len; int max_blob_size; int max_stats; int nocache; @@ -295,9 +299,11 @@ extern const char *cgit_repobasename(const char *reponame); extern int cgit_parse_snapshots_mask(const char *str); extern int cgit_open_filter(struct cgit_filter *filter); extern int cgit_close_filter(struct cgit_filter *filter); extern int readfile(const char *path, char **buf, size_t *size); +extern char *expand_macros(const char *txt); + #endif /* CGIT_H */ |