On 05.02.2013 17:30, Mikhail T. wrote:
On 05.02.2013 17:20, Jeff Trawick wrote:
module *modp;
for (modp = ap_top_module; modp; modp = modp->next) {
   foo(modp->name);
}
Cool! I thought of relying on the fact, that server_rec's module_config is a an array of module-pointers, but the above seems more reliable. Thank you!
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?

   -mi

Reply via email to