| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: red:call back funcitons
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Jul 2008 12:45:54 +0200 (CEST)
On Thu, 3 Jul 2008, nagarajan.sreenivasan_at_wipro.com wrote:
> A query regarding call back funcitons my_fwrite and read_callback .
I assume you mean the callbacks set with CURLOPT_WRITEFUNCTION and
> I want to have these 2 fucntions as member functions of a class and use it
Then you need to do some other wrapper magic.
> as they are not thread safe.
That's by your design, not imposed by libcurl.
> Is it not possible.
Yes it is. libcurl does nothing that prevents you from making the callbacks
This can be seen in multiple examples and the docs also describes how the data
-- / daniel.haxx.seReceived on 2008-07-03 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info