diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 22:52:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 22:52:50 +0000 |
commit | ce5805a955c5a79d85792caad47594987f0e0b26 (patch) | |
tree | e22b4801edb6a5448aa38730d311ccace9eb2be3 /lib/connect.h | |
parent | dad0715d7907e8a64f2cccf1d21b648018f11f41 (diff) | |
download | curl-ce5805a955c5a79d85792caad47594987f0e0b26.tar.gz |
Use curl_socket_t instead of int for holding sockets. The typedefs and
defines are in setup.h.
Diffstat (limited to 'lib/connect.h')
-rw-r--r-- | lib/connect.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/connect.h b/lib/connect.h index 9bbf2c0ae..bccb84387 100644 --- a/lib/connect.h +++ b/lib/connect.h @@ -23,17 +23,17 @@ * $Id$ ***************************************************************************/ -int Curl_nonblock(int sockfd, /* operate on this */ +int Curl_nonblock(curl_socket_t sockfd, /* operate on this */ int nonblock /* TRUE or FALSE */); CURLcode Curl_is_connected(struct connectdata *conn, - int sockfd, + curl_socket_t sockfd, bool *connected); CURLcode Curl_connecthost(struct connectdata *conn, struct Curl_dns_entry *host, /* connect to this */ int port, /* connect to this port number */ - int *sockconn, /* not set if error is returned */ + curl_socket_t *sockconn, /* not set if error */ Curl_ipconnect **addr, /* the one we used */ bool *connected /* truly connected? */ ); |