~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_share_setopt.3

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" $Id: curl_share_setopt.3,v 1.4 2006-07-07 22:07:10 bagder Exp $
 
1
.\" $Id: curl_share_setopt.3,v 1.5 2008-12-28 21:56:56 bagder Exp $
2
2
.\"
3
3
.TH curl_share_setopt 3 "8 Aug 2003" "libcurl 7.10.7" "libcurl Manual"
4
4
.SH NAME
31
31
void unlock_function(CURL *handle, curl_lock_data data, void *userptr);
32
32
 
33
33
\fIdata\fP defines what data libcurl wants to unlock, and you must make sure
34
 
that only one lick is given at any time for each kind of data.
 
34
that only one lock is given at any time for each kind of data.
35
35
 
36
36
\fIuserptr\fP is the pointer you set with \fICURLSHOPT_USERDATA\fP.
37
37
.IP CURLSHOPT_SHARE
51
51
the specified \fIparameter\fP will no longer be shared. Valid values are 
52
52
the same as those for \fICURLSHOPT_SHARE\fP.
53
53
.IP CURLSHOPT_USERDATA
54
 
The \fIparameter\fP allows you to specify a pointer to data that will passed
 
54
The \fIparameter\fP allows you to specify a pointer to data that will be passed
55
55
to the lock_function and unlock_function each time it is called.
56
56
.SH RETURN VALUE
57
57
CURLSHE_OK (zero) means that the option was set properly, non-zero means an