diff options
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -63,6 +63,11 @@ done: | |||
63 | 63 | ||
64 | } | 64 | } |
65 | 65 | ||
66 | void cgit_fprintf_filter(struct cgit_filter *filter, FILE *f, const char *prefix) | ||
67 | { | ||
68 | fprintf(f, "%s%s\n", prefix, filter->cmd); | ||
69 | } | ||
70 | |||
66 | struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype) | 71 | struct cgit_filter *cgit_new_filter(const char *cmd, filter_type filtertype) |
67 | { | 72 | { |
68 | struct cgit_filter *f; | 73 | struct cgit_filter *f; |