aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.h')
-rw-r--r--lib/transfer.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/transfer.h b/lib/transfer.h
index cc6eca0df..c99c20347 100644
--- a/lib/transfer.h
+++ b/lib/transfer.h
@@ -37,14 +37,13 @@ CURLcode Curl_readwrite_init(struct connectdata *conn);
/* This sets up a forthcoming transfer */
CURLcode
Curl_Transfer (struct connectdata *data,
- curl_socket_t sockfd, /* socket to read from or
- CURL_SOCKET_BAD */
+ int sockindex, /* socket index to read from or -1 */
curl_off_t size, /* -1 if unknown at this point */
bool getheader, /* TRUE if header parsing is wanted */
curl_off_t *bytecountp, /* return number of bytes read */
- curl_socket_t writesockfd, /* socket to write to, it may very
- well be the same we read from.
- CURL_SOCKET_BAD disables */
+ int writesockindex, /* socket index to write to, it may
+ very well be the same we read from.
+ -1 disables */
curl_off_t *writecountp /* return number of bytes written */
);
#endif