summaryrefslogtreecommitdiff
path: root/include/curl/multi.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-07-30 22:44:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-07-30 22:44:07 +0000
commit01b2cf82ec9495f36976710af0015d4cf7f529cd (patch)
treef9d3cb9e0bb77da8796d9a8b66b97c37564cae68 /include/curl/multi.h
parentc033c4c71c44a29a043941c83688e2042dcd6660 (diff)
downloadcurl-01b2cf82ec9495f36976710af0015d4cf7f529cd.tar.gz
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.
Diffstat (limited to 'include/curl/multi.h')
-rw-r--r--include/curl/multi.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h
index eb62446df..3c8bb9e53 100644
--- a/include/curl/multi.h
+++ b/include/curl/multi.h
@@ -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()