]> granicus.if.org Git - apache/commitdiff
PR:
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 27 May 2000 22:40:44 +0000 (22:40 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 27 May 2000 22:40:44 +0000 (22:40 +0000)
Obtained from:
Submitted by:
Reviewed by:

  Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
  names for linkage (API_, CORE_, and MODULE_).

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

51 files changed:
include/ap_config.h
include/http_config.h
include/http_core.h
include/http_main.h
include/httpd.h
modules/aaa/mod_access.c
modules/aaa/mod_auth.c
modules/aaa/mod_auth_anon.c
modules/aaa/mod_auth_digest.c
modules/cache/mod_file_cache.c
modules/echo/mod_echo.c
modules/filters/mod_include.c
modules/generators/mod_asis.c
modules/generators/mod_autoindex.c
modules/generators/mod_cgi.c
modules/generators/mod_cgid.c
modules/generators/mod_info.c
modules/generators/mod_status.c
modules/http/http_core.c
modules/http/mod_mime.c
modules/loggers/mod_log_config.c
modules/mappers/mod_alias.c
modules/mappers/mod_dir.c
modules/mappers/mod_imap.c
modules/mappers/mod_negotiation.c
modules/mappers/mod_rewrite.c
modules/mappers/mod_so.c
modules/mappers/mod_speling.c
modules/mappers/mod_vhost_alias.c
modules/metadata/mod_cern_meta.c
modules/metadata/mod_env.c
modules/metadata/mod_expires.c
modules/metadata/mod_headers.c
modules/metadata/mod_setenvif.c
modules/metadata/mod_unique_id.c
modules/metadata/mod_usertrack.c
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
server/config.c
server/mpm/dexter/dexter.c
server/mpm/mpmt_beos/mpmt_beos.c
server/mpm/mpmt_pthread/mpmt_pthread.c
server/mpm/mpmt_pthread/scoreboard.c
server/mpm/mpmt_pthread/scoreboard.h
server/mpm/prefork/prefork.c
server/mpm/prefork/scoreboard.h
server/mpm/spmt_os2/scoreboard.h
server/mpm/spmt_os2/spmt_os2.c
server/mpm/winnt/mpm_winnt.c
server/mpm/winnt/mpm_winnt.h
server/mpm/winnt/service.c

index 669de70d7d585242981d154fb6c4806331a81ea1..2f0a8a3cac0d7f493d6acc2a18e01f8ed2982869 100644 (file)
  *
  *   API_EXPORT(type)        for functions bound in the apache core, except:
  *   API_EXPORT_NONSTD(type) for functions with var args (only as ...)
- *   API_EXPORT_VAR          for data residing in the core
- *   MODULE_EXPORT_VAR       is a hack that will need to go away
+ *   API_VAR_EXPORT          for data residing in the core
+ *   MODULE_VAR_EXPORT       is a hack that will need to go away
  */
 
 #if !defined(WIN32)
 #define API_EXPORT(type)        type
 #define API_EXPORT_NONSTD(type) type
-#define API_EXPORT_VAR
-#define MODULE_EXPORT_VAR
+#define API_VAR_EXPORT
+#define MODULE_VAR_EXPORT
 #elif defined(API_STATIC)
 #define API_EXPORT(type)        type __stdcall
 #define API_EXPORT_NONSTD(type) type
-#define API_EXPORT_VAR
-#define MODULE_EXPORT_VAR
+#define API_VAR_EXPORT
+#define MODULE_VAR_EXPORT
 #elif defined(API_EXPORT_SYMBOLS)
 #define API_EXPORT(type)        __declspec(dllexport) type __stdcall
 #define API_EXPORT_NONSTD(type) __declspec(dllexport) type
-#define API_EXPORT_VAR         __declspec(dllexport)
-#define MODULE_EXPORT_VAR       __declspec(dllexport)
+#define API_VAR_EXPORT         __declspec(dllexport)
+#define MODULE_VAR_EXPORT       __declspec(dllexport)
 #else
 #define API_EXPORT(type)        __declspec(dllimport) type __stdcall
 #define API_EXPORT_NONSTD(type) __declspec(dllimport) type
-#define API_EXPORT_VAR         __declspec(dllimport)
-#define MODULE_EXPORT_VAR       __declspec(dllexport)
+#define API_VAR_EXPORT         __declspec(dllimport)
+#define MODULE_VAR_EXPORT       __declspec(dllexport)
 #endif
 
 #ifdef __cplusplus
index 4b83080d705107b47cfca4bfa177632eb4db8867..94f9dd848305e2dbcb7fe4ea8facd31dbf969c38 100644 (file)
@@ -366,11 +366,11 @@ API_EXPORT(const char *) ap_check_cmd_context(cmd_parms *cmd, unsigned forbidden
 
 #ifdef CORE_PRIVATE
 
-extern API_EXPORT_VAR module *top_module;
+extern API_VAR_EXPORT module *top_module;
 
 extern module *ap_prelinked_modules[];
 extern module *ap_preloaded_modules[];
-extern API_EXPORT_VAR module **ap_loaded_modules;
+extern API_VAR_EXPORT module **ap_loaded_modules;
 
 /* For mod_so.c... */
 
index b479edf2b2bc65ede013d868c9b981b2811ef163..71ad9536f08d7e94ab4b2a30b6d03505e429f725 100644 (file)
@@ -176,7 +176,7 @@ API_EXPORT(file_type_e) ap_get_win32_interpreter(const request_rec *, char **);
 
 char *ap_response_code_string (request_rec *r, int error_index);
 
-extern API_EXPORT_VAR module core_module;
+extern API_VAR_EXPORT module core_module;
 
 /* Per-directory configuration */
 
index 09b3f07240ca6ef44353112a99b944620d6aa446..9c563627b3a457bc30b7e74aeaf2e2f229e28c30 100644 (file)
 extern "C" {
 #endif
 
-extern API_EXPORT_VAR const char *ap_server_argv0;
-extern API_EXPORT_VAR const char *ap_server_root;
+extern API_VAR_EXPORT const char *ap_server_argv0;
+extern API_VAR_EXPORT const char *ap_server_root;
 
 /* for -C, -c and -D switches */
-extern API_EXPORT_VAR ap_array_header_t *ap_server_pre_read_config;
-extern API_EXPORT_VAR ap_array_header_t *ap_server_post_read_config;
-extern API_EXPORT_VAR ap_array_header_t *ap_server_config_defines;
+extern API_VAR_EXPORT ap_array_header_t *ap_server_pre_read_config;
+extern API_VAR_EXPORT ap_array_header_t *ap_server_post_read_config;
+extern API_VAR_EXPORT ap_array_header_t *ap_server_config_defines;
 
 #ifdef __cplusplus
 }
index be6216bb2d16bb52781bca7f0453e9ed8d13c5fb..67453b41e9058ad36c4f9c9d3e4a40cc4aa4861b 100644 (file)
@@ -890,11 +890,11 @@ struct server_rec {
 #define API_EXPORT_NONSTD(type)    type
 #endif
 
-#ifndef MODULE_EXPORT_VAR
-#define MODULE_EXPORT_VAR
+#ifndef MODULE_VAR_EXPORT
+#define MODULE_VAR_EXPORT
 #endif
-#ifndef API_EXPORT_VAR
-#define API_EXPORT_VAR
+#ifndef API_VAR_EXPORT
+#define API_VAR_EXPORT
 #endif
 
 /* modules should not used functions marked CORE_EXPORT
index f73c45f62e839f1cb7e990dd8b4a08d9ce095357..78c669f66f52618f8fbb6eae9818260564e4d4a6 100644 (file)
@@ -105,7 +105,7 @@ typedef struct {
     ap_array_header_t *denys;
 } access_dir_conf;
 
-module MODULE_EXPORT_VAR access_module;
+module MODULE_VAR_EXPORT access_module;
 
 static void *create_access_dir_config(ap_pool_t *p, char *dummy)
 {
@@ -395,7 +395,7 @@ static void register_hooks(void)
     ap_hook_access_checker(check_dir_access,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR access_module =
+module MODULE_VAR_EXPORT access_module =
 {
     STANDARD20_MODULE_STUFF,
     create_access_dir_config,  /* dir config creater */
index 657eeb56be4d1d2303cca89b4a635641a1352800..4a6de2f02d49f510c3bf0774f819f8e8c097b092 100644 (file)
@@ -118,7 +118,7 @@ static const command_rec auth_cmds[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR auth_module;
+module MODULE_VAR_EXPORT auth_module;
 
 static char *get_pw(request_rec *r, char *user, char *auth_pwfile)
 {
@@ -321,7 +321,7 @@ static void register_hooks(void)
     ap_hook_auth_checker(check_user_access,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR auth_module =
+module MODULE_VAR_EXPORT auth_module =
 {
     STANDARD20_MODULE_STUFF,
     create_auth_dir_config,    /* dir config creater */
index 89b00ab0082a710d2e3b557ea776ed4958682060..3a786d007f506ece3835514df946ba67e91a9538 100644 (file)
@@ -210,7 +210,7 @@ static const command_rec anon_auth_cmds[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR auth_anon_module;
+module MODULE_VAR_EXPORT auth_anon_module;
 
 static int anon_authenticate_basic_user(request_rec *r)
 {
@@ -295,7 +295,7 @@ static void register_hooks(void)
     ap_hook_auth_checker(check_anon_access,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR auth_anon_module =
+module MODULE_VAR_EXPORT auth_anon_module =
 {
     STANDARD20_MODULE_STUFF,
     create_anon_auth_dir_config,/* dir config creater */
index 39a44fa3dac6dbc1e71dc5183973bb89059f14d6..4ad04a3f20312fdaddb1a7a7bc870ccbd6fa8ec5 100644 (file)
@@ -214,7 +214,7 @@ static ap_time_t     *otn_counter;  /* one-time-nonce counter */
 static void          *client_mm = NULL;
 #endif /* HAVE_SHMEM_MM */
 
-module MODULE_EXPORT_VAR auth_digest_module;
+module MODULE_VAR_EXPORT auth_digest_module;
 
 /*
  * initialization code
@@ -1876,7 +1876,7 @@ static void register_hooks(void)
     ap_hook_fixups(add_auth_info, NULL, NULL, AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR auth_digest_module =
+module MODULE_VAR_EXPORT auth_digest_module =
 {
     STANDARD20_MODULE_STUFF,
     create_digest_dir_config,  /* dir config creater */
index af2edfb2e2dd0be50e5e1e7184856aead637b63b..1326e56c678ab2f99fd423b9196bf3f82857c2e8 100644 (file)
 #include "http_core.h"
 #include "apr_mmap.h"
 
-module MODULE_EXPORT_VAR file_cache_module;
+module MODULE_VAR_EXPORT file_cache_module;
 static ap_pool_t *context;
 static int once_through = 0;
 
@@ -359,7 +359,7 @@ static int file_cache_xlat(request_rec *r)
  * This is really broken on Windows. The call to get the core_module config
  * in core_translate_copy seg faults because 'core_module' is not exported 
  * properly and needs a thunk.
- * Will be fixed when we get API_EXPORT_VARS working correctly again    
+ * Will be fixed when we get API_VAR_EXPORTS working correctly again    
  */
     return DECLINED;
 #endif
@@ -523,7 +523,7 @@ static const handler_rec file_cache_handlers[] =
     { NULL }
 };
 
-module MODULE_EXPORT_VAR file_cache_module =
+module MODULE_VAR_EXPORT file_cache_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                     /* create per-directory config structure */
index f635ff5688ec3d70bd1a523ed5049fb05522ab4e..752a0dd1e50d08f321ff0abbad0c87a79e436647 100644 (file)
@@ -62,7 +62,7 @@
 #include "http_config.h"
 #include "http_connection.h"
 
-API_EXPORT_VAR module echo_module;
+API_VAR_EXPORT module echo_module;
 
 typedef struct
     {
@@ -121,7 +121,7 @@ static void register_hooks(void)
     ap_hook_process_connection(process_echo_connection,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-API_EXPORT_VAR module echo_module = {
+API_VAR_EXPORT module echo_module = {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* create per-directory config structure */
     NULL,                      /* merge per-directory config structures */
index cfc6b7fcaea147292e351f27ea094835416edb79..dbfa41ad8f85810ebd490f082f2547b5392ad680 100644 (file)
 #define RAW_ASCII_CHAR(ch)  (ch)
 #endif /*CHARSET_EBCDIC*/
 
-module MODULE_EXPORT_VAR includes_module;
+module MODULE_VAR_EXPORT includes_module;
 
 /* just need some arbitrary non-NULL pointer which can't also be a request_rec */
 #define NESTED_INCLUDE_MAGIC   (&includes_module)
@@ -2502,7 +2502,7 @@ static const handler_rec includes_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR includes_module =
+module MODULE_VAR_EXPORT includes_module =
 {
     STANDARD20_MODULE_STUFF,
     create_includes_dir_config, /* dir config creater */
index 603f67362d4d9996ec613c133359c8da61b1c762..4466e9c00c6ec278af0b1e429b90203dea190a72 100644 (file)
@@ -126,7 +126,7 @@ static const handler_rec asis_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR asis_module =
+module MODULE_VAR_EXPORT asis_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* create per-directory config structure */
index 0631b14d4cc4bc96110b54ee7ae0ef6d4f6570d1..83ed3023211d9faa1d65f11f660a8055614ed874 100644 (file)
@@ -81,7 +81,7 @@
 #include <string.h>
 #endif
 
-module MODULE_EXPORT_VAR autoindex_module;
+module MODULE_VAR_EXPORT autoindex_module;
 
 /****************************************************************
  *
@@ -1680,7 +1680,7 @@ static const handler_rec autoindex_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR autoindex_module =
+module MODULE_VAR_EXPORT autoindex_module =
 {
     STANDARD20_MODULE_STUFF,
     create_autoindex_config,   /* dir config creater */
index 2899fa3598a5dd4b63be43a38adff6b6941c6c46..4ab25957c329f7f0b488afd75cf9184d97d0c4c4 100644 (file)
@@ -86,7 +86,7 @@
 #include <string.h>
 #endif
 
-module MODULE_EXPORT_VAR cgi_module;
+module MODULE_VAR_EXPORT cgi_module;
 
 /* KLUDGE --- for back-combatibility, we don't have to check ExecCGI
  * in ScriptAliased directories, which means we need to know if this
@@ -657,7 +657,7 @@ static const handler_rec cgi_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR cgi_module =
+module MODULE_VAR_EXPORT cgi_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* dir config creater */
index 6755ad170ec1d0aa013042374105ebf286369801..e8f932745be09a43c988a0497963ffbc1af59793 100644 (file)
@@ -102,7 +102,7 @@ struct sockaddr_un {
 #endif
 
 
-module MODULE_EXPORT_VAR cgid_module; 
+module MODULE_VAR_EXPORT cgid_module; 
 
 static void cgid_init(ap_pool_t *p, ap_pool_t *plog, ap_pool_t *ptemp, server_rec *main_server); 
 static int once_through = 0; 
@@ -999,7 +999,7 @@ static void register_hook(void)
     ap_hook_post_config(cgid_init, NULL, NULL, AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR cgid_module = { 
+module MODULE_VAR_EXPORT cgid_module = { 
     STANDARD20_MODULE_STUFF, 
     NULL, /* dir config creater */ 
     NULL, /* dir merger --- default is to override */ 
index a1517df3dc85930ad046397042405b5d7c85a072..c5dda74bbc4b466e60ca37cbe8b72fff16b3eeb3 100644 (file)
@@ -103,7 +103,7 @@ typedef struct info_cfg_lines {
     struct info_cfg_lines *next;
 } info_cfg_lines;
 
-module MODULE_EXPORT_VAR info_module;
+module MODULE_VAR_EXPORT info_module;
 extern module *top_module;
 
 static void *create_info_config(ap_pool_t *p, server_rec *s)
@@ -661,7 +661,7 @@ static const handler_rec info_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR info_module =
+module MODULE_VAR_EXPORT info_module =
 {
     STANDARD_MODULE_STUFF,
     NULL,                       /* initializer */
index 19e44d996ecdb0adac0ddecbbf6e70b659039778..75009a5f20446e79b175a4196f61e85b2cf4ac51 100644 (file)
@@ -68,7 +68,7 @@
 
 #define STATUS_MAGIC_TYPE "application/x-httpd-status"
 
-module MODULE_EXPORT_VAR status_module;
+module MODULE_VAR_EXPORT status_module;
 
 static int print_status_value(void *data, const char *key, const char *val)
 {
@@ -127,7 +127,7 @@ static const handler_rec status_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR status_module =
+module MODULE_VAR_EXPORT status_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* create per-dir config */
index cd0903891646205d27d8b5b5390707c942dc3c75..afefe2a0e40f1e08b1df17ffec3a4dedd8d07f40 100644 (file)
@@ -2550,7 +2550,7 @@ static void register_hooks(void)
     ap_hook_access_checker(do_nothing,NULL,NULL,AP_HOOK_REALLY_LAST);
 }
 
-API_EXPORT_VAR module core_module = {
+API_VAR_EXPORT module core_module = {
     STANDARD20_MODULE_STUFF,
     create_core_dir_config,    /* create per-directory config structure */
     merge_core_dir_configs,    /* merge per-directory config structures */
index f786f60796cea7a8732a0bbe1cecf087eadc4bdb..795de4dff0c2f69207baf6cc17268baf351978bd 100644 (file)
@@ -126,7 +126,7 @@ static char tspecial[] = {
     '\0'
 };
 
-module MODULE_EXPORT_VAR mime_module;
+module MODULE_VAR_EXPORT mime_module;
 
 static void *create_mime_dir_config(ap_pool_t *p, char *dummy)
 {
@@ -741,7 +741,7 @@ static void register_hooks(void)
     ap_hook_post_config(mime_post_config,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR mime_module = {
+module MODULE_VAR_EXPORT mime_module = {
     STANDARD20_MODULE_STUFF,
     create_mime_dir_config,    /* create per-directory config structure */
     merge_mime_dir_configs,    /* merge per-directory config structures */
index a2dee51aa9710753a899583af8e6a91fa1cdb66f..07271899414ef67c5180504f3e60090911118003 100644 (file)
 #include <limits.h>
 #endif
 
-module MODULE_EXPORT_VAR config_log_module;
+module MODULE_VAR_EXPORT config_log_module;
 
 static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE);
 static ap_fileperms_t xfer_perms = APR_OS_DEFAULT;
@@ -1143,7 +1143,7 @@ static void register_hooks(void)
     ap_hook_log_transaction(multi_log_transaction,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR config_log_module =
+module MODULE_VAR_EXPORT config_log_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                       /* create per-dir config */
index 96e99ef82602d6e402b2c47833d99aa6aa4e99c7..ce2f2a338c9171b6a20283e52b5afbc28d0bda58 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
     ap_array_header_t *redirects;
 } alias_dir_conf;
 
-module MODULE_EXPORT_VAR alias_module;
+module MODULE_VAR_EXPORT alias_module;
 
 static void *create_alias_config(ap_pool_t *p, server_rec *s)
 {
@@ -405,7 +405,7 @@ static void register_hooks(void)
     ap_hook_fixups(fixup_redir,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR alias_module =
+module MODULE_VAR_EXPORT alias_module =
 {
     STANDARD20_MODULE_STUFF,
     create_alias_dir_config,   /* dir config creater */
index 0ec192104247cb58a9e5eab4200defbecc2c1aee..0b00fc39102e526b571392feb73aba1a4c9e0dd4 100644 (file)
@@ -70,7 +70,7 @@
 #include "http_main.h"
 #include "util_script.h"
 
-module MODULE_EXPORT_VAR dir_module;
+module MODULE_VAR_EXPORT dir_module;
 
 typedef struct dir_config_struct {
     ap_array_header_t *index_names;
@@ -224,7 +224,7 @@ static const handler_rec dir_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR dir_module = {
+module MODULE_VAR_EXPORT dir_module = {
     STANDARD20_MODULE_STUFF,
     create_dir_config,         /* create per-directory config structure */
     merge_dir_configs,         /* merge per-directory config structures */
index c7bf5bf918beb69819df3e514576607ed31051e0..673e495a88db4733c022e5419d7a93eb89afb0e5 100644 (file)
 double strtod();                /* SunOS needed this */
 #endif
 
-module MODULE_EXPORT_VAR imap_module;
+module MODULE_VAR_EXPORT imap_module;
 
 typedef struct {
     char *imap_menu;
@@ -900,7 +900,7 @@ static const handler_rec imap_handlers[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR imap_module =
+module MODULE_VAR_EXPORT imap_module =
 {
     STANDARD20_MODULE_STUFF,
     create_imap_dir_config,     /* dir config creater */
index dd236cf90019adc437bc750e64c3bd885ff59931..e3aa38277b82c351e3ce9b886ee5284839a65cb6 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
     ap_array_header_t *language_priority;
 } neg_dir_config;
 
-module MODULE_EXPORT_VAR negotiation_module;
+module MODULE_VAR_EXPORT negotiation_module;
 
 static void *create_neg_dir_config(ap_pool_t *p, char *dummy)
 {
@@ -2743,7 +2743,7 @@ static void register_hooks(void)
     ap_hook_type_checker(handle_multi,NULL,NULL,AP_HOOK_FIRST);
 }
 
-module MODULE_EXPORT_VAR negotiation_module =
+module MODULE_VAR_EXPORT negotiation_module =
 {
     STANDARD20_MODULE_STUFF,
     create_neg_dir_config,      /* dir config creator */
index 5fb4396f53bab34ae46a2b0d679e42bc4bcb088f..697d3f5b268de2c84741ea90b11083c5899084bd 100644 (file)
@@ -211,7 +211,7 @@ static void register_hooks(void)
 }
 
     /* the main config structure */
-module MODULE_EXPORT_VAR rewrite_module = {
+module MODULE_VAR_EXPORT rewrite_module = {
    STANDARD20_MODULE_STUFF,
    config_perdir_create,        /* create per-dir    config structures */
    config_perdir_merge,         /* merge  per-dir    config structures */
index 6264c41861b56bd844919ab287c3cd0f1f26f2d5..c1389b540f1af7f71fc8a13407db381231e7aaf6 100644 (file)
 #include "ap_config.h"
 #include "apr_dso.h"
 
-module MODULE_EXPORT_VAR so_module;
+module MODULE_VAR_EXPORT so_module;
 
 
 /*
@@ -370,7 +370,7 @@ static const command_rec so_cmds[] = {
     { NULL }
 };
 
-module MODULE_EXPORT_VAR so_module = {
+module MODULE_VAR_EXPORT so_module = {
    STANDARD20_MODULE_STUFF,
    NULL,                           /* create per-dir config */
    NULL,                           /* merge per-dir config */
index c71b7aeb446f369c4baa6c454f52244fd0895eb3..29faa63529e6fbd277146280977a24f0cc32067b 100644 (file)
@@ -87,7 +87,7 @@
  * Activate it with "CheckSpelling On"
  */
 
-MODULE_EXPORT_VAR module speling_module;
+MODULE_VAR_EXPORT module speling_module;
 
 typedef struct {
     int enabled;
@@ -554,7 +554,7 @@ static void register_hooks(void)
     ap_hook_fixups(check_speling,NULL,NULL,AP_HOOK_LAST);
 }
 
-module MODULE_EXPORT_VAR speling_module =
+module MODULE_VAR_EXPORT speling_module =
 {
     STANDARD20_MODULE_STUFF,
     create_mconfig_for_directory,  /* create per-dir config */
index 11205e88ccdc61325adeb7c46ca18f38a9ce5678..c5d37832145c095f65a338938e23c0d84531c082 100644 (file)
@@ -80,7 +80,7 @@
 #include "http_core.h"
 
 
-module MODULE_EXPORT_VAR vhost_alias_module;
+module MODULE_VAR_EXPORT vhost_alias_module;
 
 
 /*
@@ -463,7 +463,7 @@ static void register_hooks(void)
     ap_hook_translate_name(mva_translate, NULL, NULL, AP_HOOK_MIDDLE);
 };
 
-module MODULE_EXPORT_VAR vhost_alias_module =
+module MODULE_VAR_EXPORT vhost_alias_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* dir config creater */
index 4abd05508fc5c326a3242b548913dfb4e737175b..cface066a0f659378a59324fe389951ad41c3535 100644 (file)
 #define DEFAULT_METASUFFIX     ".meta"
 #define DEFAULT_METAFILES      0
 
-module MODULE_EXPORT_VAR cern_meta_module;
+module MODULE_VAR_EXPORT cern_meta_module;
 
 typedef struct {
     char *metadir;
@@ -381,7 +381,7 @@ static void register_hooks(void)
 {
     ap_hook_fixups(add_cern_meta_data,NULL,NULL,AP_HOOK_MIDDLE);
 }
-module MODULE_EXPORT_VAR cern_meta_module =
+module MODULE_VAR_EXPORT cern_meta_module =
 {
     STANDARD20_MODULE_STUFF,
     create_cern_meta_dir_config,/* dir config creater */
index 6ed23cb74368486ce762359fb5b2c004679359f8..da52b08635c3fc7fa6c21d35d16cbdffe3b90cf7 100644 (file)
@@ -113,7 +113,7 @@ typedef struct {
     int vars_present;
 } env_dir_config_rec;
 
-module MODULE_EXPORT_VAR env_module;
+module MODULE_VAR_EXPORT env_module;
 
 static void *create_env_dir_config(ap_pool_t *p, char *dummy)
 {
@@ -258,7 +258,7 @@ static void register_hooks(void)
 }
 
 
-module MODULE_EXPORT_VAR env_module =
+module MODULE_VAR_EXPORT env_module =
 {
     STANDARD20_MODULE_STUFF,
     create_env_dir_config,      /* dir config creater */
index c705a7a3a17a72af9da94133f12133499584c3a6..1a870601485885ab3a4a1d8be2ae3c49549c2066 100644 (file)
@@ -216,7 +216,7 @@ typedef struct {
 #define ACTIVE_OFF      0
 #define ACTIVE_DONTCARE 2
 
-module MODULE_EXPORT_VAR expires_module;
+module MODULE_VAR_EXPORT expires_module;
 
 static void *create_dir_expires_config(ap_pool_t *p, char *dummy)
 {
@@ -497,7 +497,7 @@ static void register_hooks(void)
     ap_hook_fixups(add_expires,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR expires_module =
+module MODULE_VAR_EXPORT expires_module =
 {
     STANDARD20_MODULE_STUFF,
     create_dir_expires_config,  /* dir config creater */
index c426606f023a95c3b14bcc8d299375458e9126b4..a311345ba6af3d580d18e76538037761eee72dbf 100644 (file)
@@ -127,7 +127,7 @@ typedef struct {
     ap_array_header_t *headers;
 } headers_conf;
 
-module MODULE_EXPORT_VAR headers_module;
+module MODULE_VAR_EXPORT headers_module;
 
 static void *create_headers_config(ap_pool_t *p, server_rec *s)
 {
@@ -246,7 +246,7 @@ static void register_hooks(void)
 {
     ap_hook_fixups(fixup_headers,NULL,NULL,AP_HOOK_MIDDLE);
 } 
-module MODULE_EXPORT_VAR headers_module =
+module MODULE_VAR_EXPORT headers_module =
 {
     STANDARD20_MODULE_STUFF,
     create_headers_dir_config,  /* dir config creater */
index b939fad52b04ce4d1b650ab3bfd08473aa6d38a3..13a63170cf3d086cec96d5423e7ffe8ccafb8cff 100644 (file)
@@ -146,7 +146,7 @@ typedef struct {
     ap_array_header_t *conditionals;
 } sei_cfg_rec;
 
-module MODULE_EXPORT_VAR setenvif_module;
+module MODULE_VAR_EXPORT setenvif_module;
 
 static void *create_setenvif_config(ap_pool_t *p, server_rec *dummy)
 {
@@ -407,7 +407,7 @@ static void register_hooks(void)
     ap_hook_post_read_request(match_headers,NULL,NULL,AP_HOOK_MIDDLE);
 }
 
-module MODULE_EXPORT_VAR setenvif_module =
+module MODULE_VAR_EXPORT setenvif_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                       /* dir config creater */
index 6e53f40f49f6a34255382f95b6f3514925c59778..677e3b2bf18a3a296d6323614eae37acaf880430 100644 (file)
@@ -400,7 +400,7 @@ static void register_hooks(void)
     ap_hook_post_read_request(gen_unique_id, NULL, NULL, AP_HOOK_MIDDLE); 
 }
 
-module MODULE_EXPORT_VAR unique_id_module = {
+module MODULE_VAR_EXPORT unique_id_module = {
     STANDARD20_MODULE_STUFF,
     NULL,                       /* dir config creater */
     NULL,                       /* dir merger --- default is to override */
index aa849c28530d7d80e8fe8247f62d686654ab8e48..7698f24c861acab0f1bbe02ef5fe2477eae0b8a7 100644 (file)
 #include "http_core.h"
 #include "http_request.h"
 
-module MODULE_EXPORT_VAR usertrack_module;
+module MODULE_VAR_EXPORT usertrack_module;
 
 typedef struct {
     int always;
@@ -307,7 +307,7 @@ static void register_hooks(void)
 {
     ap_hook_fixups(spot_cookie,NULL,NULL,AP_HOOK_MIDDLE);
 }
-module MODULE_EXPORT_VAR usertrack_module = {
+module MODULE_VAR_EXPORT usertrack_module = {
     STANDARD20_MODULE_STUFF,
     make_cookie_dir,            /* dir config creater */
     NULL,                       /* dir merger --- default is to override */
index 8cfae556a07ac3a6377840f83a417bfe06624b24..1d086f30006d598caa39161892cdbe9897b17e37 100644 (file)
@@ -880,7 +880,7 @@ static const command_rec proxy_cmds[] =
     {NULL}
 };
 
-module MODULE_EXPORT_VAR proxy_module =
+module MODULE_VAR_EXPORT proxy_module =
 {
     STANDARD_MODULE_STUFF,
     proxy_init,                        /* initializer */
index 2aa35c4b1f4964497482904d1353dfdd592aca11..7d0a5753ea2855048f08395ac559f08aa1de2bd2 100644 (file)
 
 #include "explain.h"
 
-extern module MODULE_EXPORT_VAR proxy_module;
+extern module MODULE_VAR_EXPORT proxy_module;
 
 
 /* for proxy_canonenc() */
index ae7184c54d1f7a2b46c9042db8c51ba3a859afff..4c496fbcc11964e2e09dcf0c7547879b1ecb9779 100644 (file)
 #include "http_vhost.h"
 #include "util_cfgtree.h"
 
-API_EXPORT_VAR const char *ap_server_argv0;
+API_VAR_EXPORT const char *ap_server_argv0;
 
-API_EXPORT_VAR const char *ap_server_root;
+API_VAR_EXPORT const char *ap_server_root;
 
-API_EXPORT_VAR ap_array_header_t *ap_server_pre_read_config;
-API_EXPORT_VAR ap_array_header_t *ap_server_post_read_config;
-API_EXPORT_VAR ap_array_header_t *ap_server_config_defines;
+API_VAR_EXPORT ap_array_header_t *ap_server_pre_read_config;
+API_VAR_EXPORT ap_array_header_t *ap_server_post_read_config;
+API_VAR_EXPORT ap_array_header_t *ap_server_config_defines;
 
 AP_HOOK_STRUCT(
            AP_HOOK_LINK(header_parser)
@@ -126,8 +126,8 @@ static int total_modules = 0;
  * than DYNAMIC_MODULE_LIMIT.
  */
 static int dynamic_modules = 0;
-API_EXPORT_VAR module *top_module = NULL;
-API_EXPORT_VAR module **ap_loaded_modules=NULL;
+API_VAR_EXPORT module *top_module = NULL;
+API_VAR_EXPORT module **ap_loaded_modules=NULL;
 
 typedef int (*handler_func) (request_rec *);
 typedef void *(*dir_maker_func) (ap_pool_t *, char *);
index 6b6a73cc19f2629173b146e4e67915f40193ec64..32c1db515da368aa210612060b87635544c7073f 100644 (file)
@@ -1456,7 +1456,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_dexter_module = {
+module MODULE_VAR_EXPORT mpm_dexter_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     dexter_pre_config,          /* run hook before the configuration is read */ 
index 260b05958a0306212447ba4cb1e4a7134cc6df02..5e27dd6fd427fc13a8beef20a626ba2e19176e46 100644 (file)
@@ -90,7 +90,7 @@ static int min_spare_threads=0;
 static int max_spare_threads=0;
 static int ap_daemons_limit=0;
 static time_t ap_restart_time=0;
-API_EXPORT_VAR int ap_extended_status = 0;
+API_VAR_EXPORT int ap_extended_status = 0;
 static int workers_may_exit = 0;
 static int requests_this_child;
 static int num_listenfds = 0;
@@ -1259,7 +1259,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_mpmt_beos_module = {
+module MODULE_VAR_EXPORT mpm_mpmt_beos_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     mpmt_beos_pre_config,       /* hook run before the configuration is read */
index 7b9d557de448816fab40b3532168951ffa5fa364..fdf140c2d6acb338859828e4766d8e7d12c8756e 100644 (file)
 int ap_threads_per_child=0;         /* Worker threads per child */
 int ap_max_requests_per_child=0;
 static char *ap_pid_fname=NULL;
-API_EXPORT_VAR char *ap_scoreboard_fname=NULL;
+API_VAR_EXPORT char *ap_scoreboard_fname=NULL;
 static int ap_daemons_to_start=0;
 static int min_spare_threads=0;
 static int max_spare_threads=0;
 static int ap_daemons_limit=0;
 static time_t ap_restart_time=0;
-API_EXPORT_VAR int ap_extended_status = 0;
+API_VAR_EXPORT int ap_extended_status = 0;
 static int workers_may_exit = 0;
 static int requests_this_child;
 static int num_listensocks = 0;
@@ -1475,7 +1475,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_mpmt_pthread_module = {
+module MODULE_VAR_EXPORT mpm_mpmt_pthread_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     mpmt_pthread_pre_config,    /* run hook before the configuration is read */
index 74d57502b28c182efd62a177cca522aed57f5d60..ffda41a9c7924a4ea7d4379e9d3e2a15462a12f6 100644 (file)
@@ -73,7 +73,7 @@
 scoreboard *ap_scoreboard_image = NULL;
 new_scoreboard *ap_new_scoreboard_image = NULL;
 static int maintain_connection_status = 1;
-API_EXPORT_VAR char *ap_scoreboard_fname;
+API_VAR_EXPORT char *ap_scoreboard_fname;
 /*****************************************************************
  *
  * Dealing with the scoreboard... a lot of these variables are global
index 43ec6c7c2160b8560fe4c6122bf118f3a2415dc9..9d64c9a1914294924875bb36e6daf76d47e96df6 100644 (file)
@@ -240,9 +240,9 @@ void ap_time_process_request(int child_num, int thread_num, int status);
 
 
 
-API_EXPORT_VAR extern scoreboard *ap_scoreboard_image;
+API_VAR_EXPORT extern scoreboard *ap_scoreboard_image;
 
-API_EXPORT_VAR extern ap_generation_t volatile ap_my_generation;
+API_VAR_EXPORT extern ap_generation_t volatile ap_my_generation;
 
 /* for time_process_request() in http_main.c */
 #define START_PREQUEST 1
index e2e3033c829940c79006e9b80d72d6f3c5389644..9b61016bdae9d7bc2b87f62045a9410324dc46ec 100644 (file)
@@ -172,7 +172,7 @@ int tpf_child = 0;
 char tpf_server_name[INETD_SERVNAME_LENGTH+1];
 #endif /* TPF */
 
-API_EXPORT_VAR scoreboard *ap_scoreboard_image = NULL;
+API_VAR_EXPORT scoreboard *ap_scoreboard_image = NULL;
 static new_scoreboard *ap_new_scoreboard_image = NULL;
 
 #ifdef GPROF
@@ -2434,7 +2434,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_prefork_module = {
+module MODULE_VAR_EXPORT mpm_prefork_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     prefork_pre_config,         /* run hook before the configuration is read */
index c370f018236b3982b5f8ba1d3f3bafc2099796a1..fe4c2589f1757fdaba5e25d2c0f9309ccdb3623f 100644 (file)
@@ -214,9 +214,9 @@ typedef struct {
 API_EXPORT(void) ap_sync_scoreboard_image(void);
 API_EXPORT(int) ap_exists_scoreboard_image(void);
 
-API_EXPORT_VAR extern scoreboard *ap_scoreboard_image;
+API_VAR_EXPORT extern scoreboard *ap_scoreboard_image;
 
-API_EXPORT_VAR extern ap_generation_t volatile ap_my_generation;
+API_VAR_EXPORT extern ap_generation_t volatile ap_my_generation;
 
 /* for time_process_request() in http_main.c */
 #define START_PREQUEST 1
index 3d7335fb47ab168581de61ac928d5c1dcd804ea7..27baf2bc394e3d60fdfe5b9f033b57584ab64ae4 100644 (file)
@@ -195,7 +195,7 @@ typedef struct {
 
 API_EXPORT(int) ap_exists_scoreboard_image(void);
 
-API_EXPORT_VAR extern scoreboard *ap_scoreboard_image;
+API_VAR_EXPORT extern scoreboard *ap_scoreboard_image;
 
 
 /* for time_process_request() in http_main.c */
index f35616d5f0aca40a9fc529f83af0009d5dac95e9..44c133127b4f6ecf9d51c14a956b113459ef5fd3 100644 (file)
@@ -1669,7 +1669,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_spmt_os2_module = {
+module MODULE_VAR_EXPORT mpm_spmt_os2_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook to run before apache parses args */
     spmt_os2_pre_config,        /* hook run before the configuration is read */
index 99c12027475ba60d5d9f76dd4cb74cdc061fd1d7..9a110cf27ae06feaf63f6bfd8c00990acaf6c9de 100644 (file)
@@ -106,7 +106,7 @@ HANDLE maintenance_event;
 ap_lock_t *start_mutex;
 DWORD my_pid;
 DWORD parent_pid;
-API_EXPORT_VAR ap_completion_t ap_mpm_init_complete = NULL;
+API_VAR_EXPORT ap_completion_t ap_mpm_init_complete = NULL;
 
 static ap_status_t socket_cleanup(void *sock)
 {
@@ -1967,7 +1967,7 @@ LISTEN_COMMANDS
 { NULL }
 };
 
-module MODULE_EXPORT_VAR mpm_winnt_module = {
+module MODULE_VAR_EXPORT mpm_winnt_module = {
     MPM20_MODULE_STUFF,
     NULL,                       /* hook run before arguments are parsed */
     winnt_pre_config,           /* hook run before configuration is read */
index d53686039db142e5e10b9c7312102121b794e661..e0f7b506205c19242e19522468007d8aa8c6d5dc 100644 (file)
@@ -67,7 +67,7 @@ extern int ap_extended_status;
 extern void clean_child_exit(int);
 
 typedef void (CALLBACK *ap_completion_t)();
-API_EXPORT_VAR ap_completion_t ap_mpm_init_complete;
+API_VAR_EXPORT ap_completion_t ap_mpm_init_complete;
 
 API_EXPORT(void) ap_start_shutdown(void);
 
index 9f5c5b1908b15709d75d55fe928ec11db704ab50..8304cc1cf0028e5729c653c6b8eff870b6787da6 100644 (file)
@@ -71,8 +71,8 @@
 #include "..\..\modules\mpm\winnt\winnt.h"
 
 typedef void (CALLBACK *ap_completion_t)();
-API_EXPORT_VAR ap_completion_t ap_mpm_init_complete;
-API_EXPORT_VAR char *ap_server_argv0;
+API_VAR_EXPORT ap_completion_t ap_mpm_init_complete;
+API_VAR_EXPORT char *ap_server_argv0;
 
 static struct
 {