On Fri, 25 May 2001, barries wrote:
 
>    Apache::ap_add_output_filter( "foo", AP_FTYPE_CONTENT, $ctx )

you mean ${r,c}->add_output_filter("foo", $ctx), right?

> where Foo is not related to mod_perl, you better be passing an integer
> in $ctx which is a pointer to some C struct you cooked up in XS that
> filter foo is expecting.  This would allow mod_perl interfaces to C
> level filters.

ah, ok.  $ctx would default to NULL, most of the filters check if their
context == NULL, and create a new one if so.  hmm, maybe that would also
be a good way to when the first brigade arrives.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to