aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-25 12:20:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-25 12:20:41 +0000
commit9a7e3437aef161559ccafc2fb1b845497aec44ec (patch)
tree89af9bb69ccfcedd52d115d9f332c192b5b88625 /docs
parent4fa58560bf644816b2ac56673a7180a08bf4338b (diff)
added CURLOPT_SHARE
Diffstat (limited to 'docs')
-rw-r--r--docs/libcurl/curl_easy_setopt.39
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 7ecfac1d7..b62341fe2 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -21,7 +21,7 @@
.\" * $Id$
.\" **************************************************************************
.\"
-.TH curl_easy_setopt 3 "22 Jan 2004" "libcurl 7.11.1" "libcurl Manual"
+.TH curl_easy_setopt 3 "25 Feb 2004" "libcurl 7.11.1" "libcurl Manual"
.SH NAME
curl_easy_setopt - set options for a curl easy handle
.SH SYNOPSIS
@@ -882,6 +882,13 @@ Pass a char * as parameter, pointing to data that should be associated with
this curl handle. The pointer can subsequently be retrieved using
\fIcurl_easy_getinfo\fP with the CURLINFO_PRIVATE option. libcurl itself does
nothing with this data. (Added in 7.10.3)
+.IP CURLOPT_SHARE
+Pass a share handle as a parameter. The share handle must have been created by
+a previous call to curl_share_init(). Setting this option, will make this curl
+handle use the data from the shared handle instead of keeping the data to
+itself. This enables several curl handles to share data. If the curl handles
+are used simultaneously, you \fBMUST\fP use the locking methods in the share
+handle. See \fIcurl_share_setopt(3)\fP for details.
.SH RETURN VALUE
CURLE_OK (zero) means that the option was set properly, non-zero means an
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors.3\fP