mirror of
https://github.com/curl/curl.git
synced 2026-08-01 03:38:04 +03:00
curl_multi_socket() and curl_multi_socket_all() got modified prototypes: they
both now provide the number of running handles back to the calling function.
This commit is contained in:
parent
c033c4c71c
commit
01b2cf82ec
5 changed files with 106 additions and 89 deletions
|
|
@ -266,9 +266,11 @@ typedef int (*curl_socket_callback)(CURL *easy, /* easy handle */
|
|||
void *socketp); /* private socket
|
||||
pointer */
|
||||
|
||||
CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s);
|
||||
CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
|
||||
int *running_handles);
|
||||
|
||||
CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle);
|
||||
CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle,
|
||||
int *running_handles);
|
||||
|
||||
/*
|
||||
* Name: curl_multi_timeout()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue