summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/connect.h')
-rw-r--r--Utilities/cmcurl/connect.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Utilities/cmcurl/connect.h b/Utilities/cmcurl/connect.h
index d39495c..599572b 100644
--- a/Utilities/cmcurl/connect.h
+++ b/Utilities/cmcurl/connect.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -31,13 +31,15 @@ CURLcode Curl_is_connected(struct connectdata *conn,
bool *connected);
CURLcode Curl_connecthost(struct connectdata *conn,
- struct Curl_dns_entry *host, /* connect to this */
+ const struct Curl_dns_entry *host, /* connect to this */
curl_socket_t *sockconn, /* not set if error */
Curl_addrinfo **addr, /* the one we used */
bool *connected /* truly connected? */
);
-int Curl_ourerrno(void);
+int Curl_sockerrno(void);
+
+CURLcode Curl_store_ip_addr(struct connectdata *conn);
#define DEFAULT_CONNECT_TIMEOUT 300000 /* milliseconds == five minutes */