diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-10 05:19:05 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-10 17:45:43 +0100 |
commit | 3eae406934b98ce78eff3a92cb410475d71095a3 (patch) | |
tree | 8545d754ee0b4d970a3299479087847bc4c33b5e /cgit.h | |
parent | filter: make exit status local (diff) | |
download | cgit-pink-3eae406934b98ce78eff3a92cb410475d71095a3.tar.gz cgit-pink-3eae406934b98ce78eff3a92cb410475d71095a3.zip |
filter: split filter functions into their own file
A first step for more interesting things. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h index f7b606c..a72c503 100644 --- a/cgit.h +++ b/cgit.h @@ -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); |