1CURLOPT_XFERINFODATA(3)    curl_easy_setopt options    CURLOPT_XFERINFODATA(3)
2
3
4

NAME

6       CURLOPT_XFERINFODATA - custom pointer passed to the progress callback
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLcode   curl_easy_setopt(CURL  *handle,  CURLOPT_XFERINFODATA,  void
12       *pointer);
13

DESCRIPTION

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

DEFAULT

22       The default value of this parameter is NULL.
23

PROTOCOLS

25       All
26

EXAMPLE

28       https://curl.haxx.se/libcurl/c/progressfunc.html
29

AVAILABILITY

31       Added in 7.32.0
32

RETURN VALUE

34       Returns CURLE_OK
35

SEE ALSO

37       CURLOPT_XFERINFOFUNCTION(3), CURLOPT_VERBOSE(3),
38
39
40
41libcurl 7.66.0                 October 09, 2017        CURLOPT_XFERINFODATA(3)
Impressum