diff options
author | John Schroeder <john@schroederspace.com> | 2019-11-26 09:13:11 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-11-26 09:16:01 +0100 |
commit | 7cf18b05e04bbb0f08c74d2567b0648f6c31a952 (patch) | |
tree | c6d18fd236a094a1e2c49d88619da797947a2ee7 /include | |
parent | 9b879160df01e7ddbb4770904391d3b74114302b (diff) |
XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE
(also for PROGRESSFUNCTION)
By returning this value from the callback, the internal progress
function call is still called afterward.
Closes #4599
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index d35174cec..a6d555819 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -210,6 +210,11 @@ struct curl_httppost { set. Added in 7.46.0 */ }; + +/* This is a return code for the progress callback that, when returned, will + signal libcurl to continue executing the default progress function */ +#define CURL_PROGRESSFUNC_CONTINUE 0x10000001 + /* This is the CURLOPT_PROGRESSFUNCTION callback prototype. It is now considered deprecated but was the only choice up until 7.31.0 */ typedef int (*curl_progress_callback)(void *clientp, |