Apache 1.3 API Documentation

Global Data Cell top_module

Definition:

module *top_module;
     

Usage example:

module *top_module = NULL; 
module *modp, *first; 
    ...determine modules to load and order of module list... 
top_module = first; 
\nfor (modp = top_module; modp; modp = modp->next) { 
    ...do some per directory config processing... 
} 
     

The server maintains a list of active modules, which it references when going through the various configuration and request processing phases. The list is actually a linked list of all of the module structures; this global cell points to the first structure in the list.

See also:
ap_add_loaded_module, ap_add_module, ap_add_named_module, ap_remove_loaded_module, ap_remove_module, core_module, module

Previous: core_module Next: (none)

Table of Contents (Routines, Structures, Data Cells, Constants)