summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 8c64efe..d0fff1f 100644
--- a/cgit.h
+++ b/cgit.h
@@ -130,4 +130,13 @@ struct cgit_query {
130}; 130};
131 131
132struct cgit_filter {
133 char *cmd;
134 char **argv;
135 int old_stdout;
136 int pipe_fh[2];
137 int pid;
138 int exitstatus;
139};
140
132struct cgit_config { 141struct cgit_config {
133 char *agefile; 142 char *agefile;
@@ -249,4 +258,7 @@ extern const char *cgit_repobasename(const char *reponame);
249extern int cgit_parse_snapshots_mask(const char *str); 258extern int cgit_parse_snapshots_mask(const char *str);
250 259
260extern int cgit_open_filter(struct cgit_filter *filter);
261extern int cgit_close_filter(struct cgit_filter *filter);
262
251 263
252#endif /* CGIT_H */ 264#endif /* CGIT_H */