cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: libcurl, -w option

From: Georg Horn <horn_at_koblenz-net.de>
Date: Fri, 29 Sep 2000 11:48:53 +0200

On Fri, Sep 29, 2000 at 08:55:02AM +0200, Daniel Stenberg wrote:

> I would really enjoy having a perl-interface to it...

Building simple perl-interfaces isn't too hard... There's a program
h2xs, that makes a perl-module out of a C header file.

> Now, we can still keep the -w code in the lib for a while more, but we can
> indeed introduce a curl_easy_getout() function.

That would be nice.

> Today, if you don't wanna capture the stdout, you'd use curl_easy_setopt() to
> set a write callback, and within that you'd count the bytes being written.

Ok, i'll try this.

Bye,
Georg
Received on 2000-09-29