httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
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." <mi+thun@aldan.algebra.com> 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.


Mime
View raw message