summaryrefslogtreecommitdiff
path: root/include/ap_mpm.h
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2007-05-04 11:11:26 +0000
committerRuediger Pluem <rpluem@apache.org>2007-05-04 11:11:26 +0000
commit56acf588e4e48022ccc498444bcec9cf6ca997fb (patch)
treef143cebbec8ff58553063a43b319db0ccb4984de /include/ap_mpm.h
parent542aaff5f0bf77ab4ae97192b66862ead7387d1d (diff)
downloadhttpd-56acf588e4e48022ccc498444bcec9cf6ca997fb.tar.gz
* Add extern "C" linkage to several headers to make it easier to use
them in C++ code. PR: 42286 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@535169 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r--include/ap_mpm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h
index 107a8c08a9..713f97d8ff 100644
--- a/include/ap_mpm.h
+++ b/include/ap_mpm.h
@@ -28,6 +28,10 @@
#include "apr_thread_proc.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
The MPM, "multi-processing model" provides an abstraction of the
interface with the OS for distributing incoming connections to
@@ -179,5 +183,9 @@ typedef struct ap_exception_info_t {
AP_DECLARE_HOOK(int,fatal_exception,(ap_exception_info_t *ei))
#endif /*AP_ENABLE_EXCEPTION_HOOK*/
+#ifdef __cplusplus
+}
+#endif
+
#endif
/** @} */