In libcurl, what the parameters mean in the function called by setting CURLOPT_PROGRESSFUNCTION?
int function(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);
Its a lame question I know but the website doesn’t seem to describe, or I wasn’t able to find 🙁
This example might help. To summarize:
See CURLOPT_PROGRESSDATA for
clientp.If you return any value other than 0 from the callback, the transfer will be cancelled.