summaryrefslogtreecommitdiff
path: root/adig.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-6/+0
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse1-8/+0
Remove header inclusions already done in setup_once.h
2012-08-24adig: perror() doesn't work for socket errors on windowsGisle Vanem1-2/+2
... so print the SOCKERRNO instead
2011-08-21ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitionsYang Tse1-10/+10
Fixing compiler warnings existing definitions triggered on these.
2011-05-25compiler warning: fixYang Tse1-0/+1
Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
2011-03-24adig: RFC4034 resource record type detectionYang Tse1-5/+29
Can be tested with: adig -s 8.8.8.8 -t ANY example.com
2011-03-22System's errno.h inclusion cleanup.Yang Tse1-1/+0
System's errno.h is conditionally included from setup_once.h
2010-11-12adig: fix NAPTR parsingPatrik Thunstrom1-1/+1
I ran across a small "issue" in your adig example. It is simply the last part of the NAPTR record, the replacement element, which is not a string, as currently handled in adig, but a domain name.
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-25Fix a couple of typos and grammar nits.Peter Pentchev1-2/+2
2010-03-05Added IPv6 name servers supportYang Tse1-16/+85
2009-11-16Fix icc 9.0 compiler warning: external definition with no prior declarationYang Tse1-1/+2
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