Apache HTTPD
Public Attributes | List of all members
ap_filter_rec_t Struct Reference

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>

Public Attributes

const charname
 
ap_filter_func filter_func
 
ap_init_filter_func filter_init_func
 
struct ap_filter_rec_tnext
 
ap_filter_provider_tproviders
 
ap_filter_type ftype
 
int debug
 
unsigned int proto_flags
 

Detailed Description

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.

Definition at line 215 of file util_filter.h.

Member Data Documentation

◆ debug

int ap_filter_rec_t::debug

Trace level for this filter

Definition at line 246 of file util_filter.h.

◆ filter_func

ap_filter_func ap_filter_rec_t::filter_func

The function to call when this filter is invoked.

Definition at line 220 of file util_filter.h.

◆ filter_init_func

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.

Definition at line 230 of file util_filter.h.

◆ ftype

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.

Definition at line 243 of file util_filter.h.

◆ name

const char* ap_filter_rec_t::name

The registered name for this filter

Definition at line 217 of file util_filter.h.

◆ next

struct ap_filter_rec_t* ap_filter_rec_t::next

The next filter_rec in the list

Definition at line 233 of file util_filter.h.

◆ proto_flags

unsigned int ap_filter_rec_t::proto_flags

Protocol flags for this filter

Definition at line 249 of file util_filter.h.

◆ providers

ap_filter_provider_t* ap_filter_rec_t::providers

Providers for this filter

Definition at line 236 of file util_filter.h.


The documentation for this struct was generated from the following file: