From: Daniel Stenberg Date: Sun, 4 Feb 2001 20:10:02 +0000 (+0000) Subject: Added blurb about the win32 thing that precents a DLL from using a pointer X-Git-Tag: curl-7_6_1-pre3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b94488a128b9dc793f78ae2640058d7f2eff07;p=thirdparty%2Fcurl.git Added blurb about the win32 thing that precents a DLL from using a pointer passed to it from user-space! --- diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3 index ede6190513..df42f3630d 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: