cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: frequency of progress callback

From: Wei Weng <wweng_at_kencast.com>
Date: Wed, 29 Oct 2003 11:50:16 -0500 (EST)

Another question regarding the progress callback

Say if I pass a structure

struct test
{
        int nTest;
};

as the first parameter into a progress callback function (as void*
clientp), and I happened to change the value of nTest in the progress
callback, say I do a clientp->nTest++.

Does it mean my nTest will increase every time progress callback being
called? Is the void* clientp passed from one progress callback to the next
one?

Thanks

Wei

On Wed, 29 Oct 2003, Wei Weng wrote:

> how do I specify my own frequency of progress callback?
>
> If I can not, what is the pre-defined frequency?
>
> Thanks
>
> Wei
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
>
>

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-10-29