Apache2
|
This structure is used for recording information about the registered filters. It associates a name with the filter's callback and filter type. More...
#include <util_filter.h>
Data Fields | |
const char * | name |
ap_filter_func | filter_func |
ap_init_filter_func | filter_init_func |
struct ap_filter_rec_t * | next |
ap_filter_provider_t * | providers |
ap_filter_type | ftype |
int | debug |
unsigned int | proto_flags |
ap_filter_direction_e | direction |
This structure is used for recording information about the registered filters. It associates a name with the filter's callback and filter type.
At the moment, these are simply linked in a chain, so a ->next pointer is available.
It is used for any filter that can be inserted in the filter chain. This may be either a httpd-2.0 filter or a mod_filter harness. In the latter case it contains dispatch, provider and protocol information. In the former case, the new fields (from dispatch) are ignored.
int ap_filter_rec_t::debug |
Trace level for this filter
ap_filter_direction_e ap_filter_rec_t::direction |
Whether the filter is an input or output filter
ap_filter_func ap_filter_rec_t::filter_func |
The function to call when this filter is invoked.
ap_init_filter_func ap_filter_rec_t::filter_init_func |
The function to call directly before the handlers are invoked for a request. The init function is called once directly before running the handlers for a request or subrequest. The init function is never called for a connection filter (with ftype >= AP_FTYPE_CONNECTION). Any use of this function for filters for protocols other than HTTP is specified by the module supported that protocol.
ap_filter_type ap_filter_rec_t::ftype |
The type of filter, either AP_FTYPE_CONTENT or AP_FTYPE_CONNECTION. An AP_FTYPE_CONTENT filter modifies the data based on information found in the content. An AP_FTYPE_CONNECTION filter modifies the data based on the type of connection.
const char* ap_filter_rec_t::name |
The registered name for this filter
struct ap_filter_rec_t* ap_filter_rec_t::next |
The next filter_rec in the list
unsigned int ap_filter_rec_t::proto_flags |
Protocol flags for this filter
ap_filter_provider_t* ap_filter_rec_t::providers |
Providers for this filter