![]() |
Home / Documentation / 2.0 / API / | ![]() |
||
![]() ![]() ![]() |
||||
Apache::Module - Perl API for creating and working with Apache modules | ||||
![]() ![]() |
|
||
find_linked_module
META: Autogenerated - needs to be reviewed/completed
Find a module based on the name of the module
$ret = find_linked_module($name);
$name
(string)
the name of the module
$ret
(Apache::Module
)
the module structure if found, NULL otherwise
find_module_name
META: Autogenerated - needs to be reviewed/completed
Find the name of the specified module
$ret = $module->find_module_name();
$module
(Apache::Module
)
The module to get the name for
$ret
(string)
the name of the module
remove_loaded_module
META: Autogenerated - needs to be reviewed/completed
Remove a module from the chained modules list and the list of loaded modules
$module->remove_loaded_module();
$module
(Apache::Module
)
remove_module
META: Autogenerated - needs to be reviewed/completed
Remove a module from the server. There are some caveats: when the module is removed, its slot is lost so all the current per-dir and per-server configurations are invalid. So we should only ever call this function when you are invalidating almost all our current data. I.e. when doing a restart.
$module->remove_module();
$module
(Apache::Module
)
the module structure of the module to remove
top_module
META: Autogenerated - needs to be reviewed/completed
$ret = Apache::Module->top_module();
Apache::Module
(class name)
$ret
(Apache::Module
)
version
META: Autogenerated - needs to be reviewed/completed
API version, *not* module version; check that module is compatible with this version of the server.
$version = $module->version();
$module
(Apache::Module
)
$version
(integer)
minor_version
META: Autogenerated - needs to be reviewed/completed
API minor version. Provides API feature milestones. Not checked during module init
$minor_version = $module->minor_version();
$module
(Apache::Module
)
$minor_version
(integer)
module_index
META: Autogenerated - needs to be reviewed/completed
Index to this modules structures in config vectors.
$index = $module->module_index();
$module
(Apache::Module
)
$index
(integer)
name
META: Autogenerated - needs to be reviewed/completed
The name of the module's C file
$name = $module->name();
$module
(Apache::Module
)
$name
(string)
dynamic_load_handle
META: Autogenerated - needs to be reviewed/completed
The handle for the DSO. Internal use only
$dl_handle = $module->dynamic_load_handle();
$module
(Apache::Module
)
$dl_handle
(SCALAR)
next
META: Autogenerated - needs to be reviewed/completed
A pointer to the next module in the list
$next_module = $module->next();
$module
(Apache::Module
)
$next_module
(Apache::Module
)
cmds
META: Autogenerated - needs to be reviewed/completed
A command_rec table that describes all of the directives this module defines.
$cmd_rec = $module->cmds();
$module
(Apache::Module
)
$cmd_rec
(Apache::Command
)
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
|
![]() |
![]() ![]() ![]() |