diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-02-04 20:10:02 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-02-04 20:10:02 +0000 |
commit | d6b94488a128b9dc793f78ae2640058d7f2eff07 (patch) | |
tree | 80ba599812caaca6a6f3278a69a49d60e7ad15e7 | |
parent | 5d7b32d09f7808d63276c63bc479d55836da937f (diff) |
Added blurb about the win32 thing that precents a DLL from using a pointer
passed to it from user-space!
-rw-r--r-- | docs/curl_easy_setopt.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3 index ede619051..df42f3630 100644 --- a/docs/curl_easy_setopt.3 +++ b/docs/curl_easy_setopt.3 @@ -2,7 +2,7 @@ .\" nroff -man [file] .\" 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 curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS @@ -35,6 +35,12 @@ Data pointer to pass instead of FILE * to the file write function. Note that if you specify the .I CURLOPT_WRITEFUNCTION , 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 .B CURLOPT_WRITEFUNCTION 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 .I CURLOPT_READFUNCTION , 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 .B CURLOPT_READFUNCTION Function pointer that should use match the following prototype: |