summaryrefslogtreecommitdiff
path: root/include/curl/easy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/curl/easy.h')
-rw-r--r--include/curl/easy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/curl/easy.h b/include/curl/easy.h
index 687696c2c..de7bccef7 100644
--- a/include/curl/easy.h
+++ b/include/curl/easy.h
@@ -39,8 +39,17 @@
*
* ------------------------------------------------------------
****************************************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
CURL *curl_easy_init(void);
CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
CURLcode curl_easy_perform(CURL *curl);
void curl_easy_cleanup(CURL *curl);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif