summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h')
-rw-r--r--TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h b/TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h
new file mode 100644
index 00000000000..a3729431834
--- /dev/null
+++ b/TAO/tests/Portable_Interceptors/Redirection/CrashPoint.h
@@ -0,0 +1,18 @@
+// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
+// $Id$
+
+#ifndef CRASH_POINT_H
+#define CRASH_POINT_H
+
+// Valid crash-point values:
+//
+// 0 no crash (default)
+//
+// 1 crash before logging the reply
+//
+// 2 crash after logging the reply but before replying to the client
+//
+
+extern short crash_point;
+
+#endif // CRASH_POINT_H