diff options
author | Jeff Trawick <trawick@apache.org> | 2009-03-29 14:41:02 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2009-03-29 14:41:02 +0000 |
commit | a1908585a8c3caa0438a917ac2f802b97d21e3a0 (patch) | |
tree | 70df0f73761758f0170ef3dfda8ca0a0edf569c7 /os | |
parent | f72c7532f1da9f1852249c781d07096bf4fc2925 (diff) | |
download | httpd-a1908585a8c3caa0438a917ac2f802b97d21e3a0.tar.gz |
Core can specify a platform-specific rewrite args hook. Use that on Unix.
Windows continues to specify this in the MPM, at least until someone
can separate out the MPM-specific bits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759699 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r-- | os/netware/os.h | 7 | ||||
-rw-r--r-- | os/unix/os.h | 4 | ||||
-rw-r--r-- | os/win32/os.h | 7 |
3 files changed, 18 insertions, 0 deletions
diff --git a/os/netware/os.h b/os/netware/os.h index 71af7790fd..86a93fa6d2 100644 --- a/os/netware/os.h +++ b/os/netware/os.h @@ -32,6 +32,13 @@ #define PLATFORM "NETWARE" #endif +/* Define command-line rewriting for this platform, handled by core. + * For Netware, this is currently handled inside the Netware MPM. + * XXX To support a choice of MPMs, extract common platform behavior + * into a function specified here. + */ +#define AP_PLATFORM_REWRITE_ARGS_HOOK NULL + #include <screen.h> AP_DECLARE_DATA extern int hold_screen_on_exit; /* Indicates whether the screen should be held open on exit*/ diff --git a/os/unix/os.h b/os/unix/os.h index 029b1113d1..5c7fbdff32 100644 --- a/os/unix/os.h +++ b/os/unix/os.h @@ -40,6 +40,10 @@ * parent process. */ #define AP_NEED_SET_MUTEX_PERMS 1 +/* Define command-line rewriting for this platform, handled by core. + */ +#define AP_PLATFORM_REWRITE_ARGS_HOOK ap_mpm_rewrite_args + #ifdef _OSD_POSIX pid_t os_fork(const char *user); #endif diff --git a/os/win32/os.h b/os/win32/os.h index ea5a9e74c5..0b433996d8 100644 --- a/os/win32/os.h +++ b/os/win32/os.h @@ -40,6 +40,13 @@ #define PLATFORM "Win32" +/* Define command-line rewriting for this platform, handled by core. + * For Windows, this is currently handled inside the WinNT MPM. + * XXX To support a choice of MPMs, extract common platform behavior + * into a function specified here. + */ +#define AP_PLATFORM_REWRITE_ARGS_HOOK NULL + /* going away shortly... */ #define HAVE_DRIVE_LETTERS #define HAVE_UNC_PATHS |