| 127 | */ |
| 128 | |
| 129 | static apr_status_t unload_module(void *data) |
| 130 | { |
| 131 | ap_module_symbol_t *modi = (ap_module_symbol_t*)data; |
| 132 | |
| 133 | /* only unload if module information is still existing */ |
| 134 | if (modi->modp == NULL) |
| 135 | return APR_SUCCESS; |
| 136 | |
| 137 | /* remove the module pointer from the core structure */ |
| 138 | ap_remove_loaded_module(modi->modp); |
| 139 | |
| 140 | /* destroy the module information */ |
| 141 | modi->modp = NULL; |
| 142 | modi->name = NULL; |
| 143 | return APR_SUCCESS; |
| 144 | } |
| 145 | |
| 146 | static const char *dso_load(cmd_parms *cmd, apr_dso_handle_t **modhandlep, |
| 147 | const char *filename, const char **used_filename) |
nothing calls this directly
no test coverage detected