From: Jim Jagielski Date: Thu, 6 Sep 2007 13:46:46 +0000 (+0000) Subject: lb_score *is* proxy_worker_stat... no need to "mask" that X-Git-Tag: 2.3.0~1451 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d947ef89af4f82e82e862eaa6b5d7b8d839e54;p=thirdparty%2Fapache%2Fhttpd.git lb_score *is* proxy_worker_stat... no need to "mask" that or use wasted space. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573264 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/scoreboard.h b/include/scoreboard.h index fc9fadf7ffd..5ab8944e0b5 100644 --- a/include/scoreboard.h +++ b/include/scoreboard.h @@ -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