cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_STDERR option not customizable

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 11 Mar 2002 10:10:20 +0100 (MET)

On Sat, 9 Mar 2002, Jean-Philippe Barrette-LaPierre wrote:

> I saw that the option CURLOPT_STDERR need a FILE *. I suggest to put a
> CURLOPT_STDERRFUNCTION to be able to set a customized function.
>
> I can set this but I need to know if this FILE * is just used in Curl_infof

It is used on a few more places, try

  $ grep -n -e "set\.err" lib/*.c

How would you suggest that the prototype for such a callback would look like?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-11