summaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-01-14 19:55:51 +0100
committerBradley Nicholes <bnicholes@apache.org>2002-01-14 19:55:51 +0100
commitd1146dd589db2ddaf4927cde3f01b4e1ea244c71 (patch)
treec2a63e4e0d8dce6b4f0bcfc7a2231cbca84cb96f /os
parentLog a more descriptive error message. (diff)
downloadapache2-d1146dd589db2ddaf4927cde3f01b4e1ea244c71.tar.xz
apache2-d1146dd589db2ddaf4927cde3f01b4e1ea244c71.zip
Implemented a checkunload callback to allow apache to be unloaded using
the Unload console command. Also changed the nlm name and console command to APACHE2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92852 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/netware/util_nw.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/os/netware/util_nw.c b/os/netware/util_nw.c
index 77219815be..493abc31b4 100644
--- a/os/netware/util_nw.c
+++ b/os/netware/util_nw.c
@@ -58,12 +58,10 @@
#include "httpd.h"
#include "http_log.h"
-#include "apr_strings.h"
-#include <stdarg.h>
-#include <time.h>
-#include <stdlib.h>
+#include <netware.h>
+int nlmUnloadSignaled();
AP_DECLARE(apr_status_t) ap_os_create_privileged_process(
const request_rec *r,
@@ -74,3 +72,8 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process(
{
return APR_ENOTIMPL;
}
+
+int _NonAppCheckUnload( void )
+{
+ return nlmUnloadSignaled();
+}