diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 07:20:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 07:20:11 +0000 |
commit | 648e82f05d8bce097f9f81b78d9df40f647f6170 (patch) | |
tree | 3853fbb58d25240561337356c5a99e44ffd57a72 /lib/memdebug.h | |
parent | 1dbe60b8b71c2308fab987f5b4c6c6e9a264dd66 (diff) | |
download | curl-648e82f05d8bce097f9f81b78d9df40f647f6170.tar.gz |
Major hostip.c cleanup and split into multiple files and easier #ifdef
usage.
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r-- | lib/memdebug.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h index 40ba08033..42574cf43 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -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 |