From: Daniel Stenberg Date: Mon, 1 Oct 2001 11:26:21 +0000 (+0000) Subject: fixed the connecthost proto: added the timeout argument X-Git-Tag: curl-7_9_1~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0079d905495c841bdf2c9885837148caa438406;p=thirdparty%2Fcurl.git fixed the connecthost proto: added the timeout argument --- diff --git a/lib/connect.h b/lib/connect.h index 10fd463534..40df23cc3d 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