diff options
author | Jim Jagielski <jim@apache.org> | 2011-03-31 17:12:09 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2011-03-31 17:12:09 +0200 |
commit | 6bd438fe642d1c43ff86d918277ace389b25b54e (patch) | |
tree | bbfbd55ddc8b4947b239a369ba46e17107b6e38e /server/core.c | |
parent | Cleaned up NetWare NWGNUtail.inc. (diff) | |
download | apache2-6bd438fe642d1c43ff86d918277ace389b25b54e.tar.xz apache2-6bd438fe642d1c43ff86d918277ace389b25b54e.zip |
Add in a configuration generation... this is independent of
MPM gen, just in case we ever switch MPMs at a graceful ;)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/core.c')
-rw-r--r-- | server/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/core.c b/server/core.c index 73ae3b8edb..a521eac465 100644 --- a/server/core.c +++ b/server/core.c @@ -112,6 +112,7 @@ static apr_table_t *server_config_defined_vars = NULL; AP_DECLARE_DATA int ap_main_state = AP_SQ_MS_INITIAL_STARTUP; AP_DECLARE_DATA int ap_run_mode = AP_SQ_RM_UNKNOWN; +AP_DECLARE_DATA int ap_config_generation = 1; static void *create_core_dir_config(apr_pool_t *a, char *dir) { @@ -4368,6 +4369,8 @@ AP_DECLARE(int) ap_state_query(int query) return ap_main_state; case AP_SQ_RUN_MODE: return ap_run_mode; + case AP_SQ_CONFIG_GEN: + return ap_config_generation; default: return AP_SQ_NOT_SUPPORTED; } |