From ce5805a955c5a79d85792caad47594987f0e0b26 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Mar 2004 22:52:50 +0000 Subject: Use curl_socket_t instead of int for holding sockets. The typedefs and defines are in setup.h. --- lib/connect.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/connect.h') 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? */ ); -- cgit v1.2.3