]> granicus.if.org Git - apache/commitdiff
lb_score *is* proxy_worker_stat... no need to "mask" that
authorJim Jagielski <jim@apache.org>
Thu, 6 Sep 2007 13:46:46 +0000 (13:46 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 6 Sep 2007 13:46:46 +0000 (13:46 +0000)
or use wasted space.

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

include/scoreboard.h

index fc9fadf7ffd0ce98b80ac7b2fe073333fc38bb11..5ab8944e0b5ebe2808d207ef71b2fefaf054e88c 100644 (file)
@@ -40,6 +40,9 @@ extern "C" {
 #include "apr_shm.h"
 #include "apr_optional.h"
 
+/* for lb_score */
+#include "../modules/proxy/mod_proxy.h"
+
 /* Scoreboard file, if there is one */
 #ifndef DEFAULT_SCOREBOARD
 #define DEFAULT_SCOREBOARD "logs/apache_runtime_status"
@@ -142,11 +145,7 @@ struct process_score {
 };
 
 /* stuff which is lb specific */
-typedef struct lb_score lb_score;
-struct lb_score {
-    /* TODO: make a real stuct from this */
-    unsigned char data[1024];
-};
+typedef struct proxy_worker_stat lb_score;
 
 /* Scoreboard is now in 'local' memory, since it isn't updated once created,
  * even in forked architectures.  Child created-processes (non-fork) will