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

Function init_config_defines

server/core.c:1484–1491  ·  view source on GitHub ↗

* Make sure we can revert the effects of Define/UnDefine when restarting. * This function must be called once per loading of the config, before * ap_server_config_defines is changed. This may be during reading of the * config, which is even before the pre_config hook is run (due to * EXEC_ON_READ for Define/UnDefine). */

Source from the content-addressed store, hash-verified

1482 * EXEC_ON_READ for Define/UnDefine).
1483 */
1484static void init_config_defines(apr_pool_t *pconf)
1485{
1486 saved_server_config_defines = ap_server_config_defines;
1487 /* Use apr_array_copy instead of apr_array_copy_hdr because it does not
1488 * protect from the way unset_define removes entries.
1489 */
1490 ap_server_config_defines = apr_array_copy(pconf, ap_server_config_defines);
1491}
1492
1493static const char *set_define(cmd_parms *cmd, void *dummy,
1494 const char *name, const char *value)

Callers 3

set_defineFunction · 0.85
unset_defineFunction · 0.85
core_pre_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected