summaryrefslogtreecommitdiff
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-11-26 03:45:34 +0000
committerJeff Trawick <trawick@apache.org>2003-11-26 03:45:34 +0000
commit8d0f25613180cbdd07873969beaefb8e88168d61 (patch)
treeb9f956f4863bbff4f7d6b8ee5d3d5338473e6e0d /include/ap_mpm.h
parentfc60a9086a5840887a9df70f3a375ffb56133ac8 (diff)
downloadhttpd-8d0f25613180cbdd07873969beaefb8e88168d61.tar.gz
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/ap_mpm.h')
-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