Re: Avoid write callbacks

2013-03-15 Thread Florian Weimer
* Dan Fandrich: It sounds like the API you want doesn't quite match the API libcurl provides, in which case some amount of code is going to be necessary to handle the mismatch. It doesn't have to be a lot. Take a look also at the existing C++ binding (or bindings?) to see if that might not

Re: Avoid write callbacks

2013-03-13 Thread Dan Fandrich
On Wed, Mar 13, 2013 at 01:01:35PM +0100, Florian Weimer wrote: Is there a way to avoid callbacks, while still supporting incremental retrieval of data? Unless you're writing to a FILE*, libcurl gives no other option for writing received data without using callbacks. But, you can certainly