MCPcopy Create free account
hub / github.com/apache/httpd / unload_module

Function unload_module

modules/core/mod_so.c:129–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 */
128
129static 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
146static const char *dso_load(cmd_parms *cmd, apr_dso_handle_t **modhandlep,
147 const char *filename, const char **used_filename)

Callers

nothing calls this directly

Calls 1

ap_remove_loaded_moduleFunction · 0.85

Tested by

no test coverage detected