summaryrefslogtreecommitdiff
path: root/ahost.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-2/+0
Make sure that the symbols are always exported and present in c-ares. Make the headers prefixed with 'ares'. Removed the inet_ntop.h version as it no longer features any content.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse1-4/+1
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse1-7/+0
Remove header inclusions already done in setup_once.h
2011-05-25compiler warning: fixYang Tse1-0/+1
Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-05Added IPv6 name servers supportYang Tse1-1/+1
2009-11-10Fix compiler warning: conditional expression is constantYang Tse1-1/+1
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-05-17Introduction of ares_library_init() and ares_library_cleanup()Yang Tse1-0/+9
2009-04-28Initial step towards a configure time ares_socklen_t definitionYang Tse1-0/+1
2008-09-15rearrange to allow internal/private use of ares_strcasecmp to any system thatYang Tse1-0/+15
lacks the strcasecmp function.
2008-05-26fix compiler warning: unreferenced formal parameterYang Tse1-0/+2
2008-05-08include strings.h (if available) for the strcasecmp() protoDaniel Stenberg1-0/+3
2007-11-15Needed now that in6_addr is referenced in ares.hYang Tse1-7/+0
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-2/+2
the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-04-16move linkage var declarations to ares_getopt.hYang Tse1-5/+0
2007-04-16ares_getopt() command-line parser function does not belong to actualYang Tse1-0/+1
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
2007-04-12use ares_getopt for all platformsYang Tse1-5/+1
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-1/+0
since it's already included through "setup.h".
2007-02-21Cleanup WIN32 target using WSACleanup().Gisle Vanem1-0/+5
2007-02-06INADDR_NONE no longer used.Gisle Vanem1-5/+0
2007-02-06Added debug option ('-d') for Watt-32 programs.Gisle Vanem1-1/+7
2007-02-06Include <sys/time.h> and <unistd.h> inside HAVE_x_H.Gisle Vanem1-0/+9
Added 'optind' and 'optarg' as in adig.c.
2006-10-31Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.Gisle Vanem1-2/+1
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse1-2/+2
to verify winsock API availability.
2006-07-22Added getopt() processing of [-t {a|aaaa}].Gisle Vanem1-8/+34
2005-11-11Update using ares_inet_pton() and ares_inet_ntop().Gisle Vanem1-9/+39
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-8/+8
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg1-0/+1
check for ssize_t to make it possible to use that when receiving the send() error code. This is necessary to prevent compiler warnings on some systems. - Made configure create config.h, and all source files now include setup.h that might include the proper config.h (or a handicrafted alternative). - Switched to 'ares_socket_t' type for sockets in ares, since Windows don't use 'int' for that. - automake-ified and libool-ified c-ares. Now it builds libcares as a shared lib on most platforms if wanted. (This bloated the size of the release archive with another 200K!) - Makefile.am now uses Makefile.inc for the c sources, h headers and man pages, to make it easier for other makefiles to use the exact same set of files. - Adjusted 'maketgz' to use the new automake magic when building distribution archives.
2004-03-09Gisle Vanem fixed the bad argc checkDaniel Stenberg1-1/+1
2004-02-13removed usage of unset variables (by a function that does nothing!)Daniel Stenberg1-4/+1
2004-02-02use the new single-argument ares_strerror()Daniel Stenberg1-2/+2
2004-02-02remove rcsid stuff from c files, it serves no useful purposeDaniel Stenberg1-2/+0
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg1-0/+122