]> granicus.if.org Git - apache/commitdiff
Move the Server Token stuff out of http_config_globals.h because it is
authorRyan Bloom <rbb@apache.org>
Sat, 29 Jul 2000 19:50:08 +0000 (19:50 +0000)
committerRyan Bloom <rbb@apache.org>
Sat, 29 Jul 2000 19:50:08 +0000 (19:50 +0000)
now isolated in http_core.c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85941 13f79535-47bb-0310-9956-ffa450edef68

include/http_conf_globals.h
include/httpd.h
modules/http/http_core.c

index 051d8a809c9b2f00c8536313f3402b320773df5e..73fa4d9b65e7f0d864f99914bd0cd7138f4fd1d0 100644 (file)
@@ -65,8 +65,6 @@ extern "C" {
 
 /* TODO: this file should be deleted after the other todos are dealt with */
 
-/* TODO: extern enum server_token_type ap_server_tokens; */
-
 /* TODO: extern int ap_configtestonly;  ... although it pains me because this breaks an abstraction */
 /* TODO: extern int ap_docrootcheck; */
 
index 2c2f5ed20be73001fe73957ca9e77f289378054d..763619bb683c264db1aa9a451c9e100a4fa27b98 100644 (file)
@@ -365,13 +365,6 @@ extern "C" {
 #define APEXIT_CHILDINIT       0x3
 #define APEXIT_CHILDFATAL      0xf
 
-enum server_token_type {
-    SrvTk_MIN,         /* eg: Apache/1.3.0 */
-    SrvTk_OS,          /* eg: Apache/1.3.0 (UNIX) */
-    SrvTk_FULL,                /* eg: Apache/1.3.0 (UNIX) PHP/3.0 FooBar/1.2b */
-    SrvTk_PRODUCT_ONLY /* eg: Apache */
-};
-
 API_EXPORT(const char *) ap_get_server_version(void);
 API_EXPORT(void) ap_add_version_component(ap_pool_t *pconf, const char *component);
 API_EXPORT(const char *) ap_get_server_built(void);
index 102a88f58cb1ece87d1056e52303ee6a4f22a2ed..1ab446eae215c4dba868f2a33985ae4ea19258f6 100644 (file)
@@ -2209,6 +2209,13 @@ static const char *set_bs2000_account(cmd_parms *cmd, void *dummy, char *name)
 
 static char *server_version = NULL;
 static int version_locked = 0; 
+
+enum server_token_type {
+    SrvTk_MIN,          /* eg: Apache/1.3.0 */
+    SrvTk_OS,           /* eg: Apache/1.3.0 (UNIX) */
+    SrvTk_FULL,         /* eg: Apache/1.3.0 (UNIX) PHP/3.0 FooBar/1.2b */
+    SrvTk_PRODUCT_ONLY  /* eg: Apache */
+};
 static enum server_token_type ap_server_tokens = SrvTk_FULL;
 
 static ap_status_t reset_version(void *dummy)