summaryrefslogtreecommitdiff
path: root/include/http_main.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-05-23 12:58:37 +0000
committerJeff Trawick <trawick@apache.org>2002-05-23 12:58:37 +0000
commit0547e6e6e9328238ba6f66775f028268640ea48f (patch)
treefb5841df82d5d88c71f372b2bc99fbaf726ca86c /include/http_main.h
parente6f51fa6313856aaf377c246260fba218493749d (diff)
downloadhttpd-0547e6e6e9328238ba6f66775f028268640ea48f.tar.gz
Add "-k start|startssl|restart|graceful|stop" support to httpd
for the Unix MPMs. These have semantics very similar to the old apachectl commands of the same name. The use of stderr/stdout and exit status for error conditions needs to be revisited. For now it matches apachectl behavior. Justin Erenkrantz got the ball rolling with this feature. Some of his support code was used unchanged. Other code was shuffled around and modified or rewritten. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_main.h')
-rw-r--r--include/http_main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/http_main.h b/include/http_main.h
index 724f5575b4..46c322acc7 100644
--- a/include/http_main.h
+++ b/include/http_main.h
@@ -59,6 +59,8 @@
#ifndef APACHE_HTTP_MAIN_H
#define APACHE_HTTP_MAIN_H
+#include "apr_optional.h"
+
/* AP_SERVER_BASEARGS is the command argument list parsed by http_main.c
* in apr_getopt() format. Use this for default'ing args that the MPM
* can safely ignore and pass on from its rewrite_args() handler.
@@ -89,6 +91,8 @@ AP_DECLARE_DATA extern apr_array_header_t *ap_server_post_read_config;
* effect the server based on command line options */
AP_DECLARE_DATA extern apr_array_header_t *ap_server_config_defines;
+APR_DECLARE_OPTIONAL_FN(int, ap_signal_server, (int *, apr_pool_t *));
+
#ifdef __cplusplus
}
#endif