httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <>
Subject Re: Can a module find out, whether another module is present?
Date Tue, 05 Feb 2013 22:58:48 GMT
On Tue, 05 Feb 2013 17:47:48 -0500
"Mikhail T." <> wrote:

> BTW, is modp->module_index a reliable indication of order in which
> modules are processed? In other words, of module1's index is smaller
> than that of module2, does that mean, module1's hooks will be invoked
> prior to module2's? Or must one process the link-list to establish
> order?

That tells you what order they were loaded; what order the
register_hooks callbacks were processed.

As other hooks are registered, you assign them their priority, and
I don't know the priority, index sort to be a stable sort, but would
not rely on it.

View raw message