Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

FilterContext Data Structure

The FilterContext data structure stores the context associated with a particular filter layer. Filter layers are created by calling filter_insert() Function.

Filter developers may use the data member to store filter-specific context information.

typedef struct {
    pool_handle_t *pool; /* pool context was allocated from */
    Session *sn;         /* session being processed */
    Request *rq;         /* request being processed */
    void *data;          /* filter-defined private data */
} FilterContext;