summaryrefslogtreecommitdiff
path: root/adig.c
AgeCommit message (Collapse)AuthorFilesLines
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-10-13Fix compiler warning: argument is incompatible with corresponding format ↵Yang Tse1-5/+17
string conversion
2009-05-29Fix compiler warning: out of bound accessYang Tse1-6/+9
2009-05-28fix compilation on AIXYang Tse1-0/+5
2009-05-17Introduction of ares_library_init() and ares_library_cleanup()Yang Tse1-0/+9
2008-10-17fix compiler warningYang Tse1-1/+2
2008-10-17Charles Hardin made adig support a regular numerical dotted IP address for theDaniel Stenberg1-5/+10
-s option as well.
2008-09-30fix compiler warning: dereferencing type-punned pointer will break ↵Yang Tse1-39/+42
strict-aliasing rules
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-13/+22
2008-09-15rearrange to allow internal/private use of ares_strcasecmp to any system thatYang Tse1-0/+15
lacks the strcasecmp function.
2008-05-30Brad House fixed a missing header file inclusion in adig sample programYang Tse1-0/+3
2008-05-08include strings.h (if available) for the strcasecmp() protoDaniel Stenberg1-0/+3
2008-04-07make previous compiler warning fix more portableYang Tse1-4/+4
2008-04-07fix compiler warning: indirection to slightly different base typesYang Tse1-6/+6
2008-04-07fix compiler warning: unreferenced formal parameterYang Tse1-0/+2
2008-04-04Alexey Simak made adig support NAPTR recordsDaniel Stenberg1-0/+36
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-2/+4
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-4/+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-19INADDR_NONE no longer used.Gisle Vanem1-4/+0
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse1-1/+1
2007-02-06Fix compiler warning.Gisle Vanem1-2/+3
2007-02-06Include <sys/time.h> and <unistd.h> inside HAVE_x_H.Gisle Vanem1-0/+4
2006-10-31Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.Gisle Vanem1-1/+1
2006-10-25Added '-d' option for Watt32 targets. Added cvs id.Gisle Vanem1-1/+9
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse1-2/+2
to verify winsock API availability.
2006-10-18Replace is*() macros with our own IS*() ones.Yang Tse1-2/+2
Get rid of non ANSI/ISO isascii().
2006-07-22Use ares_free_string() to avoid detecting leaks.Gisle Vanem1-12/+12
2005-12-17Fix compiler warningYang Tse1-2/+2
2005-11-12Include <getopt.h>.Gisle Vanem1-13/+28
Use DNS__32BIT() and DNS__16BIT() (How about BE machines?). Display T_AAAA resource.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg1-172/+172
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-02-23make ares_expand_name() take a long * instead of an int *, since we doDaniel Stenberg1-2/+4
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
2004-02-13removed usage of unset variables (by a function that does nothing!)Daniel Stenberg1-4/+1
2004-02-04fixed "comparison between signed and unsigned" complaintsDaniel Stenberg1-2/+2
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/+623