mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
Added blurb about the win32 thing that precents a DLL from using a pointer
passed to it from user-space!
This commit is contained in:
parent
5d7b32d09f
commit
d6b94488a1
@ -2,7 +2,7 @@
|
|||||||
.\" nroff -man [file]
|
.\" nroff -man [file]
|
||||||
.\" Written by daniel@haxx.se
|
.\" Written by daniel@haxx.se
|
||||||
.\"
|
.\"
|
||||||
.TH curl_easy_setopt 3 "28 November 2000" "Curl 7.5" "libcurl Manual"
|
.TH curl_easy_setopt 3 "2 February 2001" "Curl 7.5" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_setopt - Set curl easy-session options
|
curl_easy_setopt - Set curl easy-session options
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -35,6 +35,12 @@ Data pointer to pass instead of FILE * to the file write function. Note that
|
|||||||
if you specify the
|
if you specify the
|
||||||
.I CURLOPT_WRITEFUNCTION
|
.I CURLOPT_WRITEFUNCTION
|
||||||
, this is the pointer you'll get as input.
|
, this is the pointer you'll get as input.
|
||||||
|
|
||||||
|
NOTE: If you're using libcurl as a win32 .DLL, you MUST use a
|
||||||
|
.I CURLOPT_WRITEFUNCTION
|
||||||
|
if you set the
|
||||||
|
.I CURLOPT_FILE
|
||||||
|
option.
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_WRITEFUNCTION
|
.B CURLOPT_WRITEFUNCTION
|
||||||
Function pointer that should use match the following prototype:
|
Function pointer that should use match the following prototype:
|
||||||
@ -53,6 +59,12 @@ Data pointer to pass instead of FILE * to the file read function. Note that if
|
|||||||
you specify the
|
you specify the
|
||||||
.I CURLOPT_READFUNCTION
|
.I CURLOPT_READFUNCTION
|
||||||
, this is the pointer you'll get as input.
|
, this is the pointer you'll get as input.
|
||||||
|
|
||||||
|
NOTE: If you're using libcurl as a win32 .DLL, you MUST use a
|
||||||
|
.I CURLOPT_READFUNCTION
|
||||||
|
if you set the
|
||||||
|
.I CURLOPT_INFILE
|
||||||
|
option.
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_READFUNCTION
|
.B CURLOPT_READFUNCTION
|
||||||
Function pointer that should use match the following prototype:
|
Function pointer that should use match the following prototype:
|
||||||
|
Loading…
Reference in New Issue
Block a user