diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
commit | 8b2630a82fbecfd57fa38aebb397a755936690e5 (patch) | |
tree | a9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/filter.h | |
parent | e57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff) | |
download | lighttpd-master.tar.gz |
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/filter.h b/src/filter.h deleted file mode 100644 index 91749d42..00000000 --- a/src/filter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef _FILTER_H_ -#define _FILTER_H_ - -#include "chunk.h" - -#define FILTER_ID_INPUT -1 - -/* - * The filter chain will always have an input filter to hold - * the pre-filtered content. All other filters are added after - * the last filter. - * - * Each filter uses the chunkqueue from the previous filter as - * input and outputs to it's own chunkqueue. - * - */ - -typedef struct filter { - struct filter *prev; - struct filter *next; - - int id; /* use plugin id */ - chunkqueue *cq; /* this filters output */ -} filter; - -typedef struct { - filter *first; - filter *last; - -} filter_chain; - -LI_API filter_chain * filter_chain_init(void); -LI_API void filter_chain_free(filter_chain *chain); -LI_API void filter_chain_reset(filter_chain *chain); - -LI_API filter * filter_chain_create_filter(filter_chain *chain, int id); -LI_API filter * filter_chain_get_filter(filter_chain *chain, int id); -LI_API void filter_chain_remove_filter(filter_chain *chain, filter *fl); - -LI_API off_t filter_chain_copy_output(filter_chain *chain, chunkqueue *out); - -#endif |