1CURLOPT_XFERINFODATA(3) curl_easy_setopt options CURLOPT_XFERINFODATA(3)
2
3
4
6 CURLOPT_XFERINFODATA - custom pointer passed to the progress callback
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_XFERINFODATA, 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_XFERINFOFUNCâ
17 TION(3).
18
19 This is an alias for CURLOPT_PROGRESSDATA(3).
20
22 The default value of this parameter is NULL.
23
25 All
26
28 https://curl.haxx.se/libcurl/c/progressfunc.html
29
31 Added in 7.32.0
32
34 Returns CURLE_OK
35
37 CURLOPT_XFERINFOFUNCTION(3), CURLOPT_VERBOSE(3),
38
39
40
41libcurl 7.66.0 October 09, 2017 CURLOPT_XFERINFODATA(3)