diff options
author | Curl Upstream <curl-library@cool.haxx.se> | 2016-12-22 15:41:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-07 16:37:30 (GMT) |
commit | 4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (patch) | |
tree | ef3a36a4eb9b0c43881db54e61574378e104b936 /lib/hostip.h | |
parent | 93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (diff) | |
download | CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.zip CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.gz CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.bz2 |
curl 2016-12-22 (44b9b4d4)
Code extracted from:
https://github.com/curl/curl.git
at commit 44b9b4d4f56d6f6de92c89636994c03984e9cd01 (curl-7_52_1).
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 9098ee3..1dc4079 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, 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 @@ -87,7 +87,7 @@ int Curl_resolv(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry); int Curl_resolv_timeout(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **dnsentry, - long timeoutms); + time_t timeoutms); #ifdef CURLRES_IPV6 /* @@ -131,7 +131,7 @@ int Curl_mk_dnscache(struct curl_hash *hash); void Curl_hostcache_prune(struct Curl_easy *data); /* Return # of adresses in a Curl_addrinfo struct */ -int Curl_num_addresses (const Curl_addrinfo *addr); +int Curl_num_addresses(const Curl_addrinfo *addr); #if defined(CURLDEBUG) && defined(HAVE_GETNAMEINFO) int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa, @@ -143,7 +143,7 @@ int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa, #endif /* IPv4 threadsafe resolve function used for synch and asynch builds */ -Curl_addrinfo *Curl_ipv4_resolve_r(const char * hostname, int port); +Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port); CURLcode Curl_async_resolved(struct connectdata *conn, bool *protocol_connect); |