cURL / Mailing Lists / curl-library / Single Mail

curl-library

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