scoreboard accordingly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105132
13f79535-47bb-0310-9956-
ffa450edef68
#include "mod_proxy.h"
#include "mod_core.h"
#include "apr_optional.h"
+#include "scoreboard.h"
#include "mod_status.h"
#if (MODULE_MAGIC_NUMBER_MAJOR > 20020903)
#ifndef FIX_15207
static const char * const aszSucc[]={ "mod_rewrite.c", NULL };
#endif
-
+
+ APR_REGISTER_OPTIONAL_FN(ap_proxy_lb_workers);
/* handler */
ap_hook_handler(proxy_handler, NULL, NULL, APR_HOOK_FIRST);
/* filename-to-URI translation */
#endif
/* The number of dynamic balancers that can be added */
#define PROXY_DYNAMIC_BALANCER_LIMIT 16
-PROXY_DECLARE(int) ap_proxy_lb_workers(void);
+int ap_proxy_lb_workers(void);
/* For proxy_util */
extern module PROXY_DECLARE_DATA proxy_module;
/* Utility routines for Apache proxy */
#include "mod_proxy.h"
#include "ap_mpm.h"
-#include "scoreboard.h"
#include "apr_version.h"
#if APR_HAVE_UNISTD_H
return OK;
}
-PROXY_DECLARE(int) ap_proxy_lb_workers(void)
+int ap_proxy_lb_workers(void)
{
/* Set the dynamic #workers limit */
lb_workers_limit = lb_workers + PROXY_DYNAMIC_BALANCER_LIMIT;