Data Structures | |
| struct | oa_mod_info |
| Info required for every modules. More... | |
Defines | |
| #define | OA_MOD_VERSION "SVN" |
| The Module Loader Version. | |
| #define | OA_MOD_REGISTER(module, info) |
| This must be used to register a module. | |
Typedefs | |
| typedef oa_mod | oa_mod |
| A module handle. | |
Functions | |
| void | oa_mod_init () |
| Initialize module loader. | |
| apr_status_t | oa_mod_load (const char *mod_id, const char *filename) |
| Loads a module. | |
| void | oa_mod_unload (const char *mod_id, oa_mod *module) |
| Unload a module given id or handle. | |
| void | oa_mod_unload_all () |
| Unloads all modules. | |
|
|
Value: struct oa_mod_info *oa_mod_init_##module() { \ return &(info); \ }
Example:
|
|
||||||||||||
|
Loads a module.
|
|
||||||||||||
|
Unload a module given id or handle.
|
1.4.4