summaryrefslogtreecommitdiffstats
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2009-04-05 19:54:22 +0200
committerJeff Trawick <trawick@apache.org>2009-04-05 19:54:22 +0200
commitd1c34162827dbdb234f676727633040cf293dab2 (patch)
tree42cf899bbbbf29216174ac9f66f20a2513113e71 /include/ap_mpm.h
parentthe only "retuned" in the entire server was, alas, not meant to be (diff)
downloadapache2-d1c34162827dbdb234f676727633040cf293dab2.tar.xz
apache2-d1c34162827dbdb234f676727633040cf293dab2.zip
main() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function
change the mpm hooks to return OK/DONE instead of 0/1 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@762127 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r--include/ap_mpm.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index d5844a912c..3a0da9de5d 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -80,16 +80,15 @@ extern "C" {
*/
/**
- * This is the function that passes control to the MPM for steady-state
- * processing. It is responsible for controlling the parent and child
- * processes. It will run until a restart/shutdown is indicated.
+ * Pass control to the MPM for steady-state processing. It is responsible
+ * for controlling the parent and child processes. It will run until a
+ * restart/shutdown is indicated.
* @param pconf the configuration pool, reset before the config file is read
* @param plog the log pool, reset after the config file is read
* @param server_conf the global server config.
- * @return 1 for shutdown 0 otherwise.
- * @fn int ap_mpm_run(apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf)
+ * @return DONE for shutdown OK otherwise.
*/
-AP_DECLARE(int) ap_mpm_run(apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf);
+AP_DECLARE_HOOK(int, mpm, (apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf))
/**
* Spawn a process with privileges that another module has requested