diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-01 11:26:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-01 11:26:21 +0000 |
commit | d0079d905495c841bdf2c9885837148caa438406 (patch) | |
tree | f8b0703763d136594c0bfa3c6620cba181618a6a /lib | |
parent | ede5b54edce67f9848a0190dce3dd47e17c335a6 (diff) |
fixed the connecthost proto: added the timeout argument
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/connect.h b/lib/connect.h index 10fd46353..40df23cc3 100644 --- a/lib/connect.h +++ b/lib/connect.h @@ -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 |