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

Function x_test_config

modules/examples/mod_example_hooks.c:778–787  ·  view source on GitHub ↗

* This routine is called when the -t command-line option is supplied. * It executes only once, in the startup process, after the check_config * phase and just before the process exits. At this point the module * may output any information useful in configuration testing. * * This is a VOID hook: all defined handlers get called. */

Source from the content-addressed store, hash-verified

776 * This is a VOID hook: all defined handlers get called.
777 */
778static void x_test_config(apr_pool_t *pconf, server_rec *s)
779{
780 apr_file_t *out = NULL;
781
782 apr_file_open_stderr(&out, pconf);
783
784 apr_file_printf(out, "Example module configuration test routine\n");
785
786 trace_startup(pconf, s, NULL, "x_test_config()");
787}
788
789/*
790 * This routine is called to perform any module-specific log file

Callers

nothing calls this directly

Calls 1

trace_startupFunction · 0.85

Tested by

no test coverage detected