aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-22 18:30:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-22 18:30:58 +0000
commit64b0ff875f51b7ba852a6297d74ebba1d66e49d2 (patch)
treeac8b8f5357c2658f63d11f232792a6867c43780d /include
parenta034208a00fb7e7abcb124f782827792e0cfa450 (diff)
extern C this to work in C++ conditions
Diffstat (limited to 'include')
-rw-r--r--include/curl/multi.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index cf418bd5e..19c6553e4 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -44,8 +44,6 @@
o Enable the application to select() on its own file descriptors and curl's
file descriptors simultaneous easily.
- Example sources using this interface is here: ../multi/
-
*/
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
@@ -57,6 +55,10 @@
#include "curl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef void CURLM;
typedef enum {
@@ -187,4 +189,8 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle);
CURLMsg *curl_multi_info_read(CURLM *multi_handle,
int *msgs_in_queue);
+#ifdef __cplusplus
+} /* end of extern "C"
+#endif
+
#endif