cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

[curl pointer]

From: 左毅 <zuoy_at_neusoft.com>
Date: Fri, 06 Nov 2009 17:25:37 +0800

  CURLOPT_WRITEDATA

Data pointer to pass to the file write function. If you use the CURLOPT_WRITEFUNCTION option, this is the pointer you'll get as input. If you don't use a callback, you must pass a 'FILE *' as libcurl will pass this to fwrite() when writing data.


I get last text from http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

now i understand it as: if i use curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_function);

then i can use any kind of pointer in curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, pointer);

thanks!
                                 
--------------
移动互联网第三开发部
 
东软软件股份有限公司
沈阳浑南高新开发区新秀街2号
东软软件园A1楼
Postcode: 110179
Tel: (86 24) 8366 5556
Fax: (86 24) 8366 1970
2009-11-06
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-06

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET