CURLOPT_XFERINFOFUNCTION: introducing a new progress callback
authorDaniel Stenberg <daniel@haxx.se>
Sat, 15 Jun 2013 12:57:01 +0000 (14:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jul 2013 21:44:06 +0000 (23:44 +0200)
commit12d01cb6fa914519d1ced0223cd9ff96a2634de9
treedb88a3af7f2868b6da72aab5543495b73786600e
parent90695fb2c508803a09581b0ca8f55eaa36749a69
CURLOPT_XFERINFOFUNCTION: introducing a new progress callback

CURLOPT_XFERINFOFUNCTION is now the preferred progress callback function
and CURLOPT_PROGRESSFUNCTION is considered deprecated.

This new callback uses pure 'curl_off_t' arguments to pass on full
resolution sizes. It otherwise retains the same characteristics: the
same call rate, the same meanings for the arguments and the return code
is used the same way.

The progressfunc.c example is updated to show how to use the new
callback for newer libcurls while supporting the older one if built with
an older libcurl or even built with a newer libcurl while running with
an older.
docs/TODO
docs/examples/progressfunc.c
docs/libcurl/curl_easy_setopt.3
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/progress.c
lib/url.c
lib/urldata.h