diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/multi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h index b39218395..89f099259 100644 --- a/include/curl/multi.h +++ b/include/curl/multi.h @@ -72,6 +72,7 @@ typedef enum { attempted to get added - again */ CURLM_RECURSIVE_API_CALL, /* an api function was called from inside a callback */ + CURLM_WAKEUP_FAILURE, /* wakeup is unavailable or failed */ CURLM_LAST } CURLMcode; @@ -187,6 +188,15 @@ CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle, int timeout_ms, int *ret); +/* + * Name: curl_multi_wakeup() + * + * Desc: wakes up a sleeping curl_multi_poll call. + * + * Returns: CURLMcode type, general multi error code. + */ +CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); + /* * Name: curl_multi_perform() * |