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

NAME

6       CURLOPT_PROGRESSDATA - custom pointer passed to the progress callback
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLcode   curl_easy_setopt(CURL  *handle,  CURLOPT_PROGRESSDATA,  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_PROGRESSFUNC‐
17       TION(3).
18

DEFAULT

20       The default value of this parameter is NULL.
21

PROTOCOLS

23       All
24

EXAMPLE

26       https://curl.haxx.se/libcurl/c/progressfunc.html
27

AVAILABILITY

29       Always
30

RETURN VALUE

32       Returns CURLE_OK
33

SEE ALSO

35       CURLOPT_PROGRESSFUNCTION(3), CURLOPT_XFERINFOFUNCTION(3),
36
37
38
39libcurl 7.66.0                 February 03, 2016       CURLOPT_PROGRESSDATA(3)
Impressum