summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-11-26 04:45:34 +0100
committerJeff Trawick <trawick@apache.org>2003-11-26 04:45:34 +0100
commit8d0f25613180cbdd07873969beaefb8e88168d61 (patch)
treeb9f956f4863bbff4f7d6b8ee5d3d5338473e6e0d /include
parentremove references to Irix uslock() mutex primitive (diff)
downloadapache2-8d0f25613180cbdd07873969beaefb8e88168d61.tar.xz
apache2-8d0f25613180cbdd07873969beaefb8e88168d61.zip
Add fatal exception hook for use by debug modules. The hook is only
available if the --enable-exception-hook configure parm is used. Sample users at http://httpd.apache.org/~trawick/exception_hook.html git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101899 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/ap_mpm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index 5896cbe976..691f8124c1 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -197,4 +197,13 @@ extern void moncontrol(int);
#define AP_MONCONTROL(x)
#endif
+#if AP_ENABLE_EXCEPTION_HOOK
+typedef struct ap_exception_info_t {
+ int sig;
+ pid_t pid;
+} ap_exception_info_t;
+
+AP_DECLARE_HOOK(int,fatal_exception,(ap_exception_info_t *ei))
+#endif /*AP_ENABLE_EXCEPTION_HOOK*/
+
#endif