]> granicus.if.org Git - apache/commitdiff
a filter's context is to be used however the filter likes. it is a void*,
authorGreg Stein <gstein@apache.org>
Tue, 15 Aug 2000 02:14:29 +0000 (02:14 +0000)
committerGreg Stein <gstein@apache.org>
Tue, 15 Aug 2000 02:14:29 +0000 (02:14 +0000)
    not necessarily a bucket brigade.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86076 13f79535-47bb-0310-9956-ffa450edef68

include/util_filter.h

index 1d38f8aa3773723542e82117762203a2ff276484..ad6e57683609214a2f950179ce3853d6214d04ce 100644 (file)
@@ -180,7 +180,7 @@ struct ap_filter_t {
     ap_filter_func filter_func;
 
     /** A place to store any data associated with the current filter */
-    ap_bucket_brigade *ctx;
+    void *ctx;
 
     /** The type of filter, either AP_FTYPE_CONTENT or AP_FTYPE_CONNECTION.  
      * An AP_FTYPE_CONTENT filter modifies the data based on information 
@@ -188,8 +188,10 @@ struct ap_filter_t {
      * data based on the type of connection.
      */
     ap_filter_type ftype;
+
     /** The next filter in the chain */
     ap_filter_t *next;
+
     /** The request_rec associated with the current filter.  If a sub-request
      *  adds filters, then the sub-request is the request associated with the
      * filter.