about summary refs log tree commit diff stats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h index a72c503..e6e7715 100644 --- a/cgit.h +++ b/cgit.h
@@ -59,6 +59,7 @@ typedef enum {
59struct cgit_filter { 59struct cgit_filter {
60 char *cmd; 60 char *cmd;
61 char **argv; 61 char **argv;
62 int extra_args;
62 int old_stdout; 63 int old_stdout;
63 int pipe_fh[2]; 64 int pipe_fh[2];
64 int pid; 65 int pid;
@@ -342,7 +343,7 @@ extern const char *cgit_repobasename(const char *reponame);
342 343
343extern int cgit_parse_snapshots_mask(const char *str); 344extern int cgit_parse_snapshots_mask(const char *str);
344 345
345extern int cgit_open_filter(struct cgit_filter *filter); 346extern int cgit_open_filter(struct cgit_filter *filter, ...);
346extern int cgit_close_filter(struct cgit_filter *filter); 347extern int cgit_close_filter(struct cgit_filter *filter);
347extern struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype); 348extern struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype);
348 349