I think it could look like:

sub init : FilterInitHandler {
# we need some way to get at $r here, namely $r->update_mtime()
$r->update_mtime($mtime);
}

sub handler : FilterRequestHandler {
# normal stuff
}

since the call to ap_register_*_filter would be the place to add the filter_init routine, I think this would work.
ok, I take that back. given the Apache API, I guess we need a way to associate a specific init routine with a specific filter (unless we can call ap_register_*_filter with only the init parameter and a NULL filter :)

--Geoff




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



Reply via email to