httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject RE: Filtered I/O ... again. :-)
Date Wed, 31 May 2000 16:24:01 GMT

> please API_EXPORT(void) this:

Will do for all of them.


> please don't do this to httpd.h...
> can your changes be applied to http_protocol.h?:

This needs to be done in httpd.h because it needs to be attached to the
request_rec.  There is no way to do this anyplace else.  Is there a reason
not to do this in httpd.h?  The reason the other hooks can be declared in
http_protocol.[ch] is because they are server-wide not per-request.

> > +AP_DECLARE_RHOOK(void, filter, (request_rec *r, char *str, int len));
> > +
> >  struct request_rec {
> >  
> >      ap_pool_t *pool;
> > @@ -622,6 +625,10 @@
> >      request_rec *main;		/* If this is a 
> > sub_request (see request.h) 
> >  				 * pointer back to the main request.
> >  				 */
> > +
> > +    AP_RHOOK_STRUCT (
> > +        AP_RHOOK_LINK(filter)   /* per-request filter I/O hook. */
> > +    );
> >  
> >      /* Info about the request itself... we begin with stuff that only
> >       * protocol.c should ever touch...


Ryan
_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message