You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Mike Summers <ms...@gmail.com> on 2021/03/24 12:49:59 UTC

Hook function meta data?

I would like to have a single hook that runs before any one of a number of
predecessor modules, is there a way for the hook to know which module it's
running before? I don't see anything that looks like "hook meta data" in
request_rec.

Thanks.

Re: Hook function meta data?

Posted by Mike Summers <ms...@gmail.com>.
Good idea, thanks for the pointer

On Wed, Mar 24, 2021 at 8:01 AM Eric Covener <co...@gmail.com> wrote:

> On Wed, Mar 24, 2021 at 8:50 AM Mike Summers <ms...@gmail.com> wrote:
> >
> > I would like to have a single hook that runs before any one of a number
> of
> > predecessor modules, is there a way for the hook to know which module
> it's
> > running before? I don't see anything that looks like "hook meta data" in
> > request_rec.
>
> Maybe code from mod_info helps?
>

Re: Hook function meta data?

Posted by Eric Covener <co...@gmail.com>.
On Wed, Mar 24, 2021 at 8:50 AM Mike Summers <ms...@gmail.com> wrote:
>
> I would like to have a single hook that runs before any one of a number of
> predecessor modules, is there a way for the hook to know which module it's
> running before? I don't see anything that looks like "hook meta data" in
> request_rec.

Maybe code from mod_info helps?