cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Associate user data with easy handle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jan 2006 15:17:41 +0100 (CET)

On Mon, 2 Jan 2006, Aaron Isotton wrote:

> Is there some way to associate some user data (such as a pointer) with a
> curl easy handle?

You can set private data with curl_easy_setopt() CURLOPT_PRIVATE and extract
it with curl_easy_getinfo() CURLINFO_PRIVATE.

I believe this is what you want!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET