On Sep 10, 2007, at 10:37 AM, jean-frederic clere wrote:


 typedef struct ap_sb_handle_t ap_sb_handle_t;
@@ -181,7 +175,7 @@
 AP_DECLARE(worker_score *) ap_get_scoreboard_worker(int x, int y);
 AP_DECLARE(process_score *) ap_get_scoreboard_process(int x);
 AP_DECLARE(global_score *) ap_get_scoreboard_global(void);
-AP_DECLARE(lb_score *) ap_get_scoreboard_lb(int lb_num);
+AP_DECLARE(void *) ap_get_scoreboard_lb(int lb_num);

 AP_DECLARE_DATA extern scoreboard *ap_scoreboard_image;
 AP_DECLARE_DATA extern const char *ap_scoreboard_fname;
@@ -205,6 +199,12 @@
   */
 APR_DECLARE_OPTIONAL_FN(int, ap_proxy_lb_workers,
                         (void));
+/**
+  * proxy load balancer
+  * @return the size of lb_workers.
+  */
+APR_DECLARE_OPTIONAL_FN(int, ap_proxy_lb_worker_size,
+                        (void));

 /* for time_process_request() in http_main.c */
 #define START_PREQUEST 1

Changes API. As such, this cannot be backported
to 2.2.

Reply via email to