summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
AgeCommit message (Expand)AuthorFilesLines
2014-12-08downstream: ocloexecAnas Nashif1-1/+1
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-2/+2
2013-02-13ares__bitncmp: use two underscores for private functionsDaniel Stenberg1-6/+4
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse1-3/+0
2012-12-14Header inclusion clean-upYang Tse1-4/+0
2011-08-20warnings: fix some 'conversion may lose significant bits' compiler warningsYang Tse1-2/+3
2011-08-15Only fall back to AF_INET searches when looking for AF_UNSPEC addressesJakub Hrozek1-7/+6
2011-06-15Revert "Only fall back to AF_INET searches when looking for AF_UNSPEC addresses"Jakub Hrozek1-6/+7
2011-06-14Only fall back to AF_INET searches when looking for AF_UNSPEC addressesJakub Hrozek1-7/+6
2011-03-25renamed getplatform() to ares__getplatform() to avoid namespace pollutionYang Tse1-1/+1
2011-03-24build: move platform stuff to ares_platform.c and ares_platform.hYang Tse1-0/+1
2011-03-23build: find out windows platform using GetVersionEx()Yang Tse1-2/+10
2010-06-02style: make code less than 80 columns wideDaniel Stenberg1-16/+19
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-06removed usage of 's6_addr', fixing compilation issue triggered with noYang Tse1-1/+3
2010-03-05Added IPv6 name servers supportYang Tse1-9/+9
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-08-27Support lookup of IPv4 literals in ares_gethostbyname(), even when the addres...Steinar H. Gunderson1-5/+9
2009-04-14fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit...Yang Tse1-2/+2
2009-02-03* February 3 2009 (Phil Blundell)Phil Blundell1-7/+7
2009-01-31- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolvingDaniel Stenberg1-41/+54
2009-01-18Constified some arguments in local functions.Gisle Vanem1-9/+11
2008-11-25In preparation for the upcomming IPv6 nameservers patch, the internalYang Tse1-4/+4
2008-11-20use unsigned short better intead of mixing with ints to prevent compilerDaniel Stenberg1-5/+7
2008-11-19- Brad Spencer brought the new function ares_gethostbyname_file() which simplyDaniel Stenberg1-0/+25
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-13/+8
2008-09-15include header file only when availableYang Tse1-1/+12
2008-09-11move inclusion of ares_private.h lastYang Tse1-1/+1
2008-07-03- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup andDaniel Stenberg1-0/+9
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg1-0/+3
2008-04-07fix compiler warning: local variable may be used without having been initializedYang Tse1-1/+1
2007-11-28fix next_lookup() to continue searching even if c-ares failed to load theDaniel Stenberg1-1/+5
2007-11-15When looking up in DNS and then in the hosts file, return the error code from...Steinar H. Gunderson1-3/+5
2007-11-15Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. P...Steinar H. Gunderson1-2/+2
2007-10-02Fixed the problem where next_lookup would use 'status' uninitialized. NowDaniel Stenberg1-7/+6
2007-09-30Fix a memory leak that I recently inadvertedly introduced.Steinar H. Gunderson1-0/+1
2007-09-29Use ISDIGIT instead of isdigit; fixes a gcc warning.Steinar H. Gunderson1-1/+1
2007-09-29Be stricter about what's a valid IP address in fake_hostent. (Patch from the ...Steinar H. Gunderson1-1/+21
2007-09-28Unrevert previous 'missing' hunks. They were missing since the patch is still...Steinar H. Gunderson1-2/+2
2007-09-28Yet more missing hunks... Nggh.Steinar H. Gunderson1-2/+2
2007-09-28Make the query callbacks return the number of timeouts that happened during t...Steinar H. Gunderson1-11/+13
2007-06-04Revered Ashish Sharma's multiple entries patch, as it caused memory madnessDaniel Stenberg1-119/+20
2007-06-02Ashish Sharma provided a patch for supporting multiple entries in theDaniel Stenberg1-20/+119
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-3/+2
2007-02-19add debug messages for initialization failuresYang Tse1-2/+17
2007-01-29fix compiler warning "discards qualifiers from pointer target type" in debug ...Yang Tse1-1/+1
2006-08-04Fixed comment.Gisle Vanem1-1/+1
2006-07-222nd try adding CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2005-08-18detabifiedDaniel Stenberg1-7/+7