cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_WRITEDATA Question

From: Guillaume MARTIN <guillaume_at_eurovox.fr>
Date: Wed, 28 Apr 2004 10:10:08 +0200

Nice answers, Thanks !!

Now coding ...

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Tuesday, April 27, 2004 8:42 PM
Subject: Re: CURLOPT_WRITEDATA Question

> On Tue, 27 Apr 2004, Guillaume MARTIN wrote:
>
> > If I use a callback Function ... What is the necessity of the "void
*stream"
> > ?
>
> You decide. You can for example pass in local data using it.
>
> > It's just a param if I want to use the same callback func for others
> > transfer ?
>
> You can do that too, sure.
>
> > If yes, I can put NULL for CURLOPT_WRITEDATA ?
>
> Sure. And if you won't use the argument at all, you can skip
CURLOPT_WRITEDATA
> completely.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
Received on 2004-04-28