diff options
author | Brad King <brad.king@kitware.com> | 2024-07-24 19:31:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-07-25 15:05:06 (GMT) |
commit | 54c5367320267d5659e5835a87aab2a6b5eb083f (patch) | |
tree | 9f8ba9183d70c68537b257cb9a4e80d54882ecea /Utilities/cmcurl/lib/multiif.h | |
parent | 60bd6acfbfdc916a616a713518bc94153c5be0dd (diff) | |
parent | 8defd39611e68f5afe612e9351c6f6b8a19eb5ff (diff) | |
download | CMake-54c5367320267d5659e5835a87aab2a6b5eb083f.zip CMake-54c5367320267d5659e5835a87aab2a6b5eb083f.tar.gz CMake-54c5367320267d5659e5835a87aab2a6b5eb083f.tar.bz2 |
Merge branch 'upstream-curl' into update-curl
* upstream-curl:
curl 2024-07-24 (5040f7e9)
Diffstat (limited to 'Utilities/cmcurl/lib/multiif.h')
-rw-r--r-- | Utilities/cmcurl/lib/multiif.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/multiif.h b/Utilities/cmcurl/lib/multiif.h index 59a3064..d3c12ba 100644 --- a/Utilities/cmcurl/lib/multiif.h +++ b/Utilities/cmcurl/lib/multiif.h @@ -76,7 +76,7 @@ void Curl_multiuse_state(struct Curl_easy *data, * Curl_multi_closed() * * Used by the connect code to tell the multi_socket code that one of the - * sockets we were using is about to be closed. This function will then + * sockets we were using is about to be closed. This function will then * remove it from the sockethash for this handle to make the multi_socket API * behave properly, especially for the case when libcurl will create another * socket again and it gets the same file descriptor number. @@ -84,6 +84,15 @@ void Curl_multiuse_state(struct Curl_easy *data, void Curl_multi_closed(struct Curl_easy *data, curl_socket_t s); +/* Compare the two pollsets to notify the multi_socket API of changes + * in socket polling, e.g calling multi->socket_cb() with the changes if + * differences are seen. + */ +CURLMcode Curl_multi_pollset_ev(struct Curl_multi *multi, + struct Curl_easy *data, + struct easy_pollset *ps, + struct easy_pollset *last_ps); + /* * Add a handle and move it into PERFORM state at once. For pushed streams. */ |