]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Implement -t -DDUMP_MODULES using generic test_config hook rather than
authorJoe Orton <jorton@apache.org>
Tue, 17 Aug 2004 13:47:10 +0000 (13:47 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 17 Aug 2004 13:47:10 +0000 (13:47 +0000)
commit28a2fdc5950ab59394b62900c22f57bcb4608479
tree28048ebb806516d2a709c4c9796942e44ed6ee6f
parente9977c0b90359123d9a408f84fa0faabc2329afd
Implement -t -DDUMP_MODULES using generic test_config hook rather than
hooking into mod_so from main.c:

* include/http_config.h, server/config.c: Declare test_config hook.

* server/main.c: Drop hooks into mod_so; run test_config hooks.

* modules/mappers/mod_so.h: Drop ap_dump_loaded_modules optional
function.

* modules/mappers/mod_so.c (dump_loaded_modules): Renamed from
ap_dump_loaded_modules; only run if -DDUMP_MODULES is defined.
(register_hooks): Register test_config hook instead of optional
function.

Reviewed by: Justin Erenkrantz, Paul Querna

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104685 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/http_config.h
modules/mappers/mod_so.c
modules/mappers/mod_so.h
server/config.c
server/main.c