mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Guess some platforms need PROXY_DECLARE_DATA
for data shared between proxy modules and declared to be extern. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728572 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -44,7 +44,7 @@ APR_DECLARE_OPTIONAL_FN(char *, ssl_var_lookup,
|
|||||||
static APR_OPTIONAL_FN_TYPE(set_worker_hc_param) *set_worker_hc_param_f = NULL;
|
static APR_OPTIONAL_FN_TYPE(set_worker_hc_param) *set_worker_hc_param_f = NULL;
|
||||||
|
|
||||||
/* Externals */
|
/* Externals */
|
||||||
proxy_hcmethods_t proxy_hcmethods[] = {
|
proxy_hcmethods_t PROXY_DECLARE_DATA proxy_hcmethods[] = {
|
||||||
{NONE, "NONE", 1},
|
{NONE, "NONE", 1},
|
||||||
{TCP, "TCP", 1},
|
{TCP, "TCP", 1},
|
||||||
{OPTIONS, "OPTIONS", 1},
|
{OPTIONS, "OPTIONS", 1},
|
||||||
@@ -55,7 +55,7 @@ proxy_hcmethods_t proxy_hcmethods[] = {
|
|||||||
{EOT, NULL, 1}
|
{EOT, NULL, 1}
|
||||||
};
|
};
|
||||||
|
|
||||||
proxy_wstat_t proxy_wstat_tbl[] = {
|
proxy_wstat_t PROXY_DECLARE_DATA proxy_wstat_tbl[] = {
|
||||||
{PROXY_WORKER_INITIALIZED, PROXY_WORKER_INITIALIZED_FLAG, "Init "},
|
{PROXY_WORKER_INITIALIZED, PROXY_WORKER_INITIALIZED_FLAG, "Init "},
|
||||||
{PROXY_WORKER_IGNORE_ERRORS, PROXY_WORKER_IGNORE_ERRORS_FLAG, "Ign "},
|
{PROXY_WORKER_IGNORE_ERRORS, PROXY_WORKER_IGNORE_ERRORS_FLAG, "Ign "},
|
||||||
{PROXY_WORKER_DRAIN, PROXY_WORKER_DRAIN_FLAG, "Drn "},
|
{PROXY_WORKER_DRAIN, PROXY_WORKER_DRAIN_FLAG, "Drn "},
|
||||||
|
@@ -92,8 +92,8 @@ typedef struct {
|
|||||||
} proxy_wstat_t;
|
} proxy_wstat_t;
|
||||||
|
|
||||||
/* These 2 are in mod_proxy.c */
|
/* These 2 are in mod_proxy.c */
|
||||||
extern proxy_hcmethods_t proxy_hcmethods[];
|
PROXY_DECLARE_DATA extern proxy_hcmethods_t proxy_hcmethods[];
|
||||||
extern proxy_wstat_t proxy_wstat_tbl[];
|
PROXY_DECLARE_DATA extern proxy_wstat_t proxy_wstat_tbl[];
|
||||||
|
|
||||||
#define BALANCER_PREFIX "balancer://"
|
#define BALANCER_PREFIX "balancer://"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user