]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
ui-snapshot: set unused cgit_filter fields to zero
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index f28cf300b5de975f1ef7c460bdefe9743f599361..a72c503d84c35dec4ff9709a4b81f4da854a6c2f 100644 (file)
--- 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 {
@@ -200,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;
@@ -344,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);