On Wed, Dec 16, 2009 at 4:00 AM, Vincent Chen wrote:

> if I set the pointer via curl_easy_setopt() like this
> curl_easy_setopt(curl_handler_, CURLOPT_WRITEDATA, &res)
> Is there any API to get back my pointer?

There is no way to retrieve this information back from libcurl, but you
shouldn't need to - because you already have it. If you really want to
associate some data with a specific curl handle, check out
CURLOPT_PRIVATE and CURLINFO_PRIVATE.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to