aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_parse_ptr_reply.c
AgeCommit message (Collapse)Author
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse
2009-01-11- Phil Blundell added the internal function ares__expand_name_for_response()Daniel Stenberg
that is now used by the ares_parse_*_reply() functions instead of the ares_expand_name() simply to easier return ARES_EBADRESP for the cases where the name expansion fails as in responses that really isn't expected.
2008-11-26Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause aYang Tse
buffer to shrink instead of expand if a reply contained 8 or more records.
2008-11-15Fixed an OOM condition reported by Jim MeyeringDaniel Stenberg
2008-09-17adjust inclusion of "nameser.h"Yang Tse
2008-09-15include header file only when availableYang Tse
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
2008-09-06remove unnecessary typecasting of realloc()Yang Tse
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg
2008-05-07- Sebastian made c-ares able to return all PTR-records when doing reverseDaniel Stenberg
lookups. It is not common practice to have multiple PTR-Records for a single IP, but its perfectly legal and some sites have those.
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem
since it's already included through "setup.h".
2006-07-222nd try adding CVS id.Gisle Vanem
2006-07-22Added CVS id.Gisle Vanem
2005-04-06Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OSDaniel Stenberg
X.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-08-20More patches for Watt-32 on Win32; don't include "nameser.h".Gisle Vanem
2004-07-22- Fixed a few variable return types for some system calls. Made configureDaniel Stenberg
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-02-23make ares_expand_name() take a long * instead of an int *, since we doDaniel Stenberg
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
2004-02-04typecast comparision between signed and unsignedDaniel Stenberg
2004-02-02remove rcsid stuff from c files, it serves no useful purposeDaniel Stenberg
2003-10-07ares 1.1.1 with collected applied patchesDaniel Stenberg