aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-12 09:43:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-12 09:43:20 +0000
commitcb895ec3356822df72eb91171a1cc63ad1845d93 (patch)
tree77a33f251fb9ac6a963d2a31cf722aa37867adb7 /lib/connect.h
parent2df4866cfa24920675520a5ccf72340e8e93b757 (diff)
Initial fix to make the multi interface return control while waiting for
the initial connect to "come through". This should work fine for connect and for FTP-PASV connects. Needs massive testing.
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/connect.h b/lib/connect.h
index f44252346..5a6b8e63c 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -26,10 +26,15 @@
int Curl_nonblock(int socket, /* operate on this */
int nonblock /* TRUE or FALSE */);
+CURLcode Curl_is_connected(struct connectdata *conn,
+ int sockfd,
+ bool *connected);
+
CURLcode Curl_connecthost(struct connectdata *conn,
Curl_addrinfo *host, /* connect to this */
int port, /* connect to this port number */
int *sockconn, /* not set if error is returned */
- Curl_ipconnect **addr /* the one we used */
- ); /* index we used */
+ Curl_ipconnect **addr, /* the one we used */
+ bool *connected /* truly connected? */
+ );
#endif