curl-library
RE: share interface
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 23 May 2005 20:52:02 +0200 (CEST)
Date: Mon, 23 May 2005 20:52:02 +0200 (CEST)
On Mon, 23 May 2005, Michael Mastroianni wrote:
> Is it possible to have separate lock data for dns and cookies?
>
> It looks like it's only set up to do one or the other.
You could easily do that yourself:
struct yourlockdata {
void *dnsstuff;
void *cookiestuff;
}
void func ()
{
struct yourlockdata lockit;
curl_share_setopt(CURLSHOPT_USERDATA, &lockit);
}
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-05-23