X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d2e20e38141c882e46eaa77f172fc2ae37a19d3b..da218fcd9eb554a8405ca72e84bcc0feb371194f:/cgit.h diff --git a/cgit.h b/cgit.h index 3e9d55b..a72c503 100644 --- a/cgit.h +++ b/cgit.h @@ -62,7 +62,6 @@ struct cgit_filter { int old_stdout; int pipe_fh[2]; int pid; - int exitstatus; }; struct cgit_repo { @@ -73,7 +72,7 @@ struct cgit_repo { char *owner; char *defbranch; char *module_link; - char *readme; + struct string_list readme; char *section; char *clone_url; char *logo; @@ -85,6 +84,7 @@ struct cgit_repo { int enable_remote_branches; int enable_subject_links; int max_stats; + int branch_sort; int commit_sort; time_t mtime; struct cgit_filter *about_filter; @@ -182,7 +182,7 @@ struct cgit_config { char *mimetype_file; char *module_link; char *project_list; - char *readme; + struct string_list readme; char *robots; char *root_title; char *root_desc; @@ -199,6 +199,7 @@ struct cgit_config { int cache_root_ttl; int cache_scanrc_ttl; int cache_static_ttl; + int cache_about_ttl; int case_sensitive_sort; int embedded; int enable_filter_overrides; @@ -234,6 +235,7 @@ struct cgit_config { int summary_log; int summary_tags; int ssdiff; + int branch_sort; int commit_sort; struct string_list mimetypes; struct cgit_filter *about_filter; @@ -342,6 +344,7 @@ 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 struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype); extern void cgit_prepare_repo_env(struct cgit_repo * repo);