cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: yangtse: curl/lib hostip.h,1.48,1.49 hostip6.c,1.27,1.28

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Jul 2006 23:11:04 +0200 (CEST)

On Mon, 3 Jul 2006, cvs_at_labb.contactor.se wrote:

> -int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen,
> - char *host, size_t hostlen,
> - char *serv, size_t servlen, int flags,
> +int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa,
> + GETNAMEINFO_TYPE_ARG2 salen,
> + char *host, GETNAMEINFO_TYPE_ARG46 hostlen,
> + char *serv, GETNAMEINFO_TYPE_ARG46 servlen,
> + GETNAMEINFO_TYPE_ARG7 flags,
> int line, const char *source)

One word of caution here:

Remember that we have a fair amount of platforms that don't run configure and
thus you must somehow provide a sensible default for these in a header file
for those systems...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-03