1CURLOPT_PROGRESSDATA(3) curl_easy_setopt options CURLOPT_PROGRESSDATA(3)
2
3
4
6 CURLOPT_PROGRESSDATA - custom pointer passed to the progress callback
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROGRESSDATA, void
12 *pointer);
13
15 Pass a pointer that will be untouched by libcurl and passed as the
16 first argument in the progress callback set with CURLOPT_PROGRESSFUNC‐
17 TION(3).
18
20 The default value of this parameter is NULL.
21
23 All
24
26 https://curl.haxx.se/libcurl/c/progressfunc.html
27
29 Always
30
32 Returns CURLE_OK
33
35 CURLOPT_PROGRESSFUNCTION(3), CURLOPT_XFERINFOFUNCTION(3),
36
37
38
39libcurl 7.61.1 February 03, 2016 CURLOPT_PROGRESSDATA(3)