summaryrefslogtreecommitdiff
path: root/include/scoreboard.h
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2007-09-07 11:58:38 +0000
committerJim Jagielski <jim@apache.org>2007-09-07 11:58:38 +0000
commit4aee21f5b6b8f3b107fee4421fc984a940a542fd (patch)
tree0039fe6948887c57095b70c31a71ebeda698d331 /include/scoreboard.h
parentc3d947ef89af4f82e82e862eaa6b5d7b8d839e54 (diff)
downloadhttpd-4aee21f5b6b8f3b107fee4421fc984a940a542fd.tar.gz
semi-revert 573264. It is totally bogus that we
need to do this, but until we create mod_proxy_structs.h which can then be included by mod_proxy.h as well as scoreboard.h, we'll make do. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/scoreboard.h')
-rw-r--r--include/scoreboard.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/scoreboard.h b/include/scoreboard.h
index 5ab8944e0b..1e934cd29c 100644
--- a/include/scoreboard.h
+++ b/include/scoreboard.h
@@ -40,9 +40,6 @@ 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"
@@ -145,7 +142,11 @@ struct process_score {
};
/* stuff which is lb specific */
-typedef struct proxy_worker_stat lb_score;
+typedef struct lb_score lb_score;
+struct lb_score {
+ /* TODO: sync this with proxy_worker_stat */
+ unsigned char data[256];
+};
/* Scoreboard is now in 'local' memory, since it isn't updated once created,
* even in forked architectures. Child created-processes (non-fork) will