From d6b94488a128b9dc793f78ae2640058d7f2eff07 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Feb 2001 20:10:02 +0000 Subject: Added blurb about the win32 thing that precents a DLL from using a pointer passed to it from user-space! --- docs/curl_easy_setopt.3 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3