curl_easy_setopt.3: prefer XFERINFOFUNCTION to PROGRESSFUNCTION
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 May 2014 06:51:38 +0000 (08:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 May 2014 06:52:06 +0000 (08:52 +0200)
docs/libcurl/curl_easy_setopt.3

index bd66e0f..c044163 100644 (file)
@@ -347,6 +347,8 @@ Pass a pointer to a function that matches the following prototype:
 \fBint function(void *clientp, double dltotal, double dlnow, double ultotal,
 double ulnow);\fP
 
+We encourage users to use \fICURLOPT_XFERINFOFUNCTION\fP instead, if you can.
+
 This function gets called by libcurl instead of its internal equivalent with a
 frequent interval. While data is being transferred it will be called very
 frequently, and during slow periods like when nothing is being transferred it