cURL / Mailing Lists / curl-library / Single Mail

curl-library

write callback

From: Judith NATAF <jnataf_at_telisma.com>
Date: Tue, 24 Jul 2001 18:14:59 +0200

While using the write callback for the received data,

size_t write_data(void *ptr, size_t size, size_t nmemb, void * stream)

I don't want to do a simple "fwrite", but need to give some additional datas
to the callback (the name of the file for exemple).

Is there a way to do this ? Is it possible to add a parameter to the
callback
(pointer on myData, for example).
Thank's for your help.

------------------------------------
Judith Nataf - TELISMA
Product Development Engineer

Tel: (0)2 96 05 59 24
email : <mailto:jnataf_at_telisma.com>
web : <http://www.telisma.com>
------------------------------------

_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-02