AW: How is possible to supress messages like Contacting Writing 1 Kbyt es Read 1Kbytes etc

Hi Lauri,

after you define your callback functions for trace and print with 

	HTPrint_setCallback(printer);
	HTTrace_setCallback(tracer);

you can modify these functions to supress some messages:

PRIVATE int printer (const char * fmt, va_list pArgs)
{
    /* do something with the message */
    return (vfprintf(stdout, fmt, pArgs));
}

To supress all data, simply undefine the callback functions.

Cheers,
Juergen

> -----Ursprüngliche Nachricht-----
> Von: Lauri-Alo Adamson [mailto:Lauri.Adamson@andmevara.ee]
> Gesendet am: Donnerstag, 21. Dezember 2000 14:24
> An: 'www-lib@w3.org'
> Betreff: How is possible to supress messages like Contacting Writing
> 1Kbyt es Read 1Kbytes etc
> 
> Hello!
> 
> How is possible to supress in libwww application following messages ?
> 
> Contacting 10.0.1.114
> Writing 1Kbytes
> Reading...
> Writing 1Kbytes
> Read 1Kbytes
> Read 1Kbytes
> Done!
> 
> Lauri 
> 

Received on Thursday, 21 December 2000 10:50:28 UTC