summaryrefslogtreecommitdiff
path: root/inet_ntop.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-19inet_ntop.c: s/socklen_t/ares_socklen_tYang Tse1-1/+4
2013-02-19inet_ntop.c: s/socklen_t/ares_socklen_t for portabilityYang Tse1-3/+3
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-4/+9
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-5/+0
Remove header inclusions already done in setup_once.h
2011-03-22System's errno.h inclusion cleanup.Yang Tse1-1/+0
System's errno.h is conditionally included from setup_once.h
2010-12-16ares_inet_ntop: remove definition and usage of macro SPRINTFYang Tse1-8/+2
Existing definition of SPRINTF always resulted in sprintf() being used, and sprintf() returning 'int' is already used throughout the library.
2010-12-16ares_inet_ntop: reapply changes from previous c-ares version (III)Yang Tse1-10/+16
- Replace 'u_char' with 'unsigned char'. - Replace 'u_int' with 'unsigned int'. - use macros ERRNO and SET_ERRNO() for errno handling.
2010-12-16ares_inet_ntop: reapply changes from previous c-ares version (II)Yang Tse1-16/+28
- Remove rcsid. - Adjust header file inclusions. - ares_inet_ntop used only on systems without a proper inet_ntop function.
2010-12-16ares_inet_ntop: reapply changes from previous c-ares version (I)Yang Tse1-131/+121
- Replace tabs with spaces. - Use ANSI C style for function declarations and definitions. - Use sizeof with parentheses.
2010-12-16ares_inet_ntop: fix off by one error triggering out of bounds writeYang Tse1-180/+155
ares_inet_ntop would trigger an out of bounds write when the representation of the address required 15 characters, due to not taking in account null termination character. Full import of inet_ntop.c from bind-9.5.3rc1 to pull additional fixes.
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-05Added IPv6 name servers supportYang Tse1-0/+1
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2008-09-24HAVE_INET_NTOP will only be defined when an IPv6 capable workingYang Tse1-1/+1
inet_ntop function is available.
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-9/+10
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-2/+0
since it's already included through "setup.h".
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse1-3/+8
2006-08-04Minor compatibility fixYang Tse1-4/+4
2006-08-04Fix compiler warningYang Tse1-2/+10
2005-11-12Added CVS id, Detabified, applied c-ares coding-style.Gisle Vanem1-113/+127
2005-11-11Squelch gcc 4.x warning.Gisle Vanem1-1/+1
2005-05-15Converted some macros to use NS_* so they work on non-IPv6 systemsDominick Meglio1-5/+5
2005-05-15Forgot to ares_-ize inet_ntopDominick Meglio1-5/+1
2005-05-14Added an inet_ntop function from BIND for systems that do not have itDominick Meglio1-0/+210