/* 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; */
#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);
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)