mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:43:47 +03:00
Major hostip.c cleanup and split into multiple files and easier #ifdef
usage.
This commit is contained in:
parent
1dbe60b8b7
commit
648e82f05d
17 changed files with 2400 additions and 1123 deletions
|
|
@ -84,9 +84,12 @@ int curl_fclose(FILE *file, int line, const char *source);
|
|||
curl_accept(sock,addr,len,__LINE__,__FILE__)
|
||||
|
||||
#define getaddrinfo(host,serv,hint,res) \
|
||||
curl_getaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
|
||||
curl_dogetaddrinfo(host,serv,hint,res,__LINE__,__FILE__)
|
||||
#define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
|
||||
curl_dogetnameinfo(sa,salen,host,hostlen,serv,servlen,flags, __LINE__, \
|
||||
__FILE__)
|
||||
#define freeaddrinfo(data) \
|
||||
curl_freeaddrinfo(data,__LINE__,__FILE__)
|
||||
curl_dofreeaddrinfo(data,__LINE__,__FILE__)
|
||||
|
||||
/* sclose is probably already defined, redefine it! */
|
||||
#undef sclose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue