]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fixed the connecthost proto: added the timeout argument
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2001 11:26:21 +0000 (11:26 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 1 Oct 2001 11:26:21 +0000 (11:26 +0000)
lib/connect.h

index 10fd463534b8ddf1d90e14c04498305446169657..40df23cc3d1800177f7d947fd76a08d117361c5b 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __NONBLOCK_H
-#define __NONBLOCK_H
+#ifndef __CONNECT_H
+#define __CONNECT_H
 /*****************************************************************************
  *                                  _   _ ____  _     
  *  Project                     ___| | | |  _ \| |    
@@ -24,6 +24,7 @@
  *****************************************************************************/
 
 CURLcode Curl_connecthost(struct connectdata *conn,
-                          int sockfd, /* input socket, or -1 if none */
-                          int *socket);
+                          long timeout, /* milliseconds */
+                          int sockfd,   /* input socket, or -1 if none */
+                          int *socket); /* not set if error is returned */
 #endif