summaryrefslogtreecommitdiff
path: root/include/curl/easy.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-11-09 14:02:58 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-11-09 14:02:58 +0000
commit3ccbed1022b8f0fb00e80564870e7f5aa0120a2a (patch)
tree8b49d84756f8356a7b01c2940d4050a382e9c0e5 /include/curl/easy.h
parent377e43fbb9ff48fc114c9c6ecc1b04796e01b0fb (diff)
downloadcurl-3ccbed1022b8f0fb00e80564870e7f5aa0120a2a.tar.gz
Changes for removing libcurl.def file on Win32.
Mark public functions with "CURL_EXTERN".
Diffstat (limited to 'include/curl/easy.h')
-rw-r--r--include/curl/easy.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/curl/easy.h b/include/curl/easy.h
index 336e542f8..17de21070 100644
--- a/include/curl/easy.h
+++ b/include/curl/easy.h
@@ -26,10 +26,10 @@
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);
+CURL_EXTERN CURL *curl_easy_init(void);
+CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
+CURL_EXTERN CURLcode curl_easy_perform(CURL *curl);
+CURL_EXTERN void curl_easy_cleanup(CURL *curl);
/*
* NAME curl_easy_getinfo()
@@ -44,7 +44,7 @@ void curl_easy_cleanup(CURL *curl);
* performed transfer, all results from this function are undefined until the
* transfer is completed.
*/
-CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
+CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
/*
@@ -59,7 +59,7 @@ CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
* curl_easy_duphandle() for each new thread to avoid a series of identical
* curl_easy_setopt() invokes in every thread.
*/
-CURL* curl_easy_duphandle(CURL *curl);
+CURL_EXTERN CURL* curl_easy_duphandle(CURL *curl);
/*
* NAME curl_easy_reset()
@@ -72,7 +72,7 @@ CURL* curl_easy_duphandle(CURL *curl);
* It does keep: live connections, the Session ID cache, the DNS cache and the
* cookies.
*/
-void curl_easy_reset(CURL *curl);
+CURL_EXTERN void curl_easy_reset(CURL *curl);
#ifdef __cplusplus
}