summaryrefslogtreecommitdiff
path: root/include/scoreboard.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2012-03-15 23:51:35 +0000
committerJeff Trawick <trawick@apache.org>2012-03-15 23:51:35 +0000
commit7f74a624c0cd7083292970bc512d1e82c4197b55 (patch)
treef4194c6edbe66b6b224b607fd230b28509c79646 /include/scoreboard.h
parent273f078c9c69049af3d9c6ca909844d7f1d851bc (diff)
downloadhttpd-7f74a624c0cd7083292970bc512d1e82c4197b55.tar.gz
revert r1294936, which fixed MPM DSO load failures on AIX
it breaks the Netware build and was also missing the AP_DECLARE* decorations for the function implementations and variables git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/scoreboard.h')
-rw-r--r--include/scoreboard.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/scoreboard.h b/include/scoreboard.h
index 2fd2960e49..3145005647 100644
--- a/include/scoreboard.h
+++ b/include/scoreboard.h
@@ -156,21 +156,14 @@ typedef struct {
typedef struct ap_sb_handle_t ap_sb_handle_t;
-/*
- * Creation and deletion (internal)
- */
-int ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e t);
-apr_status_t ap_cleanup_scoreboard(void *d);
-
-/*
- * APIs for MPMs and other modules
- */
AP_DECLARE(int) ap_exists_scoreboard_image(void);
AP_DECLARE(void) ap_increment_counts(ap_sb_handle_t *sbh, request_rec *r);
-AP_DECLARE(apr_status_t) ap_reopen_scoreboard(apr_pool_t *p, apr_shm_t **shm, int detached);
-AP_DECLARE(void) ap_init_scoreboard(void *shared_score);
+int ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e t);
+apr_status_t ap_reopen_scoreboard(apr_pool_t *p, apr_shm_t **shm, int detached);
+void ap_init_scoreboard(void *shared_score);
AP_DECLARE(int) ap_calc_scoreboard_size(void);
+apr_status_t ap_cleanup_scoreboard(void *d);
AP_DECLARE(void) ap_create_sb_handle(ap_sb_handle_t **new_sbh, apr_pool_t *p,
int child_num, int thread_num);