summaryrefslogtreecommitdiff
path: root/ares_gethostbyaddr.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-08downstream: ocloexecAnas Nashif1-1/+1
Change-Id: Ie10c7a5414603781405af5b7a094c9cc359e2465 Author: Anas Nashif <anas.nashif@intel.com>
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-1/+1
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-3/+0
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse1-4/+0
Remove header inclusions already done in setup_once.h
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-12-02ares_gethostbyaddr: fix compiler warning: conversion may lose significant bitsYang Tse1-5/+5
2010-07-30fix signed v/s unsigned casts warning in ares_gethostbyaddr.cBen Greear1-5/+5
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-06-02style: make code less than 80 columns wideDaniel Stenberg1-4/+6
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-06removed usage of 's6_addr', fixing compilation issue triggered with noYang Tse1-1/+1
longer using 'in6_addr' but only our 'ares_in6_addr' struct
2010-03-05Added IPv6 name servers supportYang Tse1-8/+8
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-04-14fix compiler warning: implicit conversion shortens 64-bit value into a ↵Yang Tse1-4/+11
32-bit value
2009-01-18Constified some arguments in local functions.Gisle Vanem1-3/+3
2008-12-09C89 compilers (like Minix' ACK) only need to handle 31 functions argumentsDan Fandrich1-3/+6
so split a long sprintf into two calls to get below that number.
2008-11-25In preparation for the upcomming IPv6 nameservers patch, the internalYang Tse1-23/+22
ares_addr union is now changed into an internal struct which also holds the address family.
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-10/+8
2008-09-15include header file only when availableYang Tse1-0/+11
2008-09-11move inclusion of ares_private.h lastYang Tse1-1/+1
2007-12-03Fix three issues previous cleanup introduces.Yang Tse1-12/+11
2007-12-03 Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhatDaniel Stenberg1-31/+35
2007-11-28the gethostbyname fix applied here as wellDaniel Stenberg1-1/+5
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-7/+11
the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-3/+2
since it's already included through "setup.h".
2007-02-19add debug messages for initialization failuresYang Tse1-0/+1
2007-02-17compiler warning fixYang Tse1-1/+1
2007-02-17compiler warning fixYang Tse1-3/+1
2007-02-16add debug messages for fopen() failuresYang Tse1-1/+18
2005-11-11Detabified. Added CVS id.Gisle Vanem1-0/+2
2005-08-18detabifiedDaniel Stenberg1-2/+2
2005-04-09Made sortlist support IPv6 (this can probably use some testing)Dominick Meglio1-5/+0
2005-04-08Added preliminary IPv6 support to ares_gethostbynameDominick Meglio1-0/+1
2005-04-08Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the familyDominick Meglio1-23/+75
2005-04-06Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OSDaniel Stenberg1-0/+3
X.
2005-03-21typecase to fix win32 compiler warning (and intended as other code is)Daniel Stenberg1-12/+11
2004-12-10untabifiedDaniel Stenberg1-39/+39
2004-11-10Replace IsNT with IS_NT().Gisle Vanem1-40/+40
Return correct timeval in windows_port.c. Squelch gcc warnings: use 'ares_socket_t' in ares_fds.c. Don't cast a 'lvalue' in ares_init.c.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-40/+40
2004-09-26Dominick Meglio host file path discovery patch for windowsDaniel Stenberg1-5/+16
2004-08-20More patches for Watt-32 on Win32; don't include "nameser.h".Gisle Vanem1-1/+6
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-07-01djgpp fixes by GisleDaniel Stenberg1-0/+6
2004-03-23changed the long to int typecasts to see if icc 8.0 complains less on thisDaniel Stenberg1-4/+4
2004-02-23typecase the bitfiddling results since we get a long and we store an int,Daniel Stenberg1-4/+4
they may not be of the size size
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/+174