-rw-r--r-- | cgit.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -131,2 +131,11 @@ struct cgit_query { +struct cgit_filter { + char *cmd; + char **argv; + int old_stdout; + int pipe_fh[2]; + int pid; + int exitstatus; +}; + struct cgit_config { @@ -250,2 +259,5 @@ 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); + |