Commit Graph

57 Commits

Author SHA1 Message Date
Carsten Larsen 2811e30d49 Release 1.12.0 2017-04-12 01:21:06 +02:00
Carsten Sonne Larsen 742f56907a AmigaOS changes 2016-03-05 09:59:40 +01:00
Daniel Stenberg cf7ad9758d ares_inet_pton/ntop: cleanup
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.
2013-02-17 17:44:02 +01:00
Yang Tse 0c677f578e setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of these two header files now done in setup_once.h
2012-12-14 18:36:59 +01:00
Yang Tse a1035276c1 Header inclusion clean-up
Remove header inclusions already done in setup_once.h
2012-12-14 18:25:56 +01:00
Gisle Vanem 805c736e36 adig: perror() doesn't work for socket errors on windows
... so print the SOCKERRNO instead
2012-08-24 23:17:26 +02:00
Yang Tse 1089cf6052 ares_dns.h: adjust DNS__16BIT and DNS__32BIT macro definitions
Fixing compiler warnings existing definitions triggered on these.
2011-08-21 19:18:53 +02:00
Yang Tse 5ef8f5ead2 compiler warning: fix
Fix compiler warning: variable was set but never used

Fix compiler warning: clobber ignored
2011-05-25 11:19:10 +02:00
Yang Tse 2c2e2d839e adig: RFC4034 resource record type detection
Can be tested with: adig -s 8.8.8.8 -t ANY example.com
2011-03-24 20:25:49 +01:00
Yang Tse 8c503ddf79 System's errno.h inclusion cleanup.
System's errno.h is conditionally included from setup_once.h
2011-03-22 14:02:23 +01:00
Patrik Thunstrom e9386cfd9f adig: fix NAPTR parsing
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-11-12 14:09:00 +01:00
Daniel Stenberg 63627fa5ab remove all $Id$ lines 2010-03-27 19:42:02 +01:00
Peter Pentchev a83d892bb2 Fix a couple of typos and grammar nits. 2010-03-25 13:00:17 +01:00
Yang Tse 8fe746fcf2 Added IPv6 name servers support 2010-03-05 20:01:47 +00:00
Yang Tse b47af62e75 Fix icc 9.0 compiler warning: external definition with no prior declaration 2009-11-16 20:02:12 +00:00
Yang Tse 1c5f8be38d Fix compiler warning: conditional expression is constant 2009-11-10 18:41:03 +00:00
Yang Tse a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 2009-11-02 11:55:53 +00:00
Yang Tse 58346cbfb9 Fix compiler warning: argument is incompatible with corresponding format string conversion 2009-10-13 13:53:57 +00:00
Yang Tse 16d842958a Fix compiler warning: out of bound access 2009-05-29 13:19:51 +00:00
Yang Tse ef4a786bf6 fix compilation on AIX 2009-05-28 16:43:17 +00:00
Yang Tse b7c7bab713 Introduction of ares_library_init() and ares_library_cleanup() 2009-05-17 17:11:28 +00:00
Yang Tse 1c9a010cf0 fix compiler warning 2008-10-17 19:04:53 +00:00
Daniel Stenberg 43daf6decd Charles Hardin made adig support a regular numerical dotted IP address for the
-s option as well.
2008-10-17 11:26:36 +00:00
Yang Tse 6503efa62a fix compiler warning: dereferencing type-punned pointer will break strict-aliasing rules 2008-09-30 17:04:05 +00:00
Yang Tse f214b583f5 adjust inclusion of "nameser.h" 2008-09-17 01:02:57 +00:00
Yang Tse 746f3e2942 rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.
2008-09-15 15:28:26 +00:00
Yang Tse 9191dc5c33 Brad House fixed a missing header file inclusion in adig sample program 2008-05-30 15:26:42 +00:00
Daniel Stenberg d4d2f9dc22 include strings.h (if available) for the strcasecmp() proto 2008-05-08 22:14:17 +00:00
Yang Tse f1b829e418 make previous compiler warning fix more portable 2008-04-07 19:12:35 +00:00
Yang Tse 4ba9cb3a46 fix compiler warning: indirection to slightly different base types 2008-04-07 14:37:17 +00:00
Yang Tse 51d5712977 fix compiler warning: unreferenced formal parameter 2008-04-07 12:44:47 +00:00
Daniel Stenberg b1c3cc0cfe Alexey Simak made adig support NAPTR records 2008-04-04 20:24:41 +00:00
Steinar H. Gunderson 50ba81cd23 Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) 2007-09-28 14:46:51 +00:00
Yang Tse 35b7d08768 move linkage var declarations to ares_getopt.h 2007-04-16 15:35:34 +00:00
Yang Tse bba777d6da ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
2007-04-16 09:01:16 +00:00
Yang Tse 088a4d923a use ares_getopt for all platforms 2007-04-12 19:01:19 +00:00
Gisle Vanem a627160041 Removed inclusion of <sys/types.h> in .c-files
since it's already included through "setup.h".
2007-02-26 04:33:19 +00:00
Gisle Vanem 908070821e Cleanup WIN32 target using WSACleanup(). 2007-02-21 15:01:51 +00:00
Gisle Vanem b00a5ffbd8 INADDR_NONE no longer used. 2007-02-19 17:41:38 +00:00
Yang Tse 69fa447354 use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling 2007-02-16 15:04:44 +00:00
Gisle Vanem 2776f1ed03 Fix compiler warning. 2007-02-06 19:00:42 +00:00
Gisle Vanem 7ac09a058c Include <sys/time.h> and <unistd.h> inside HAVE_x_H. 2007-02-06 18:54:35 +00:00
Gisle Vanem 48d6915d8b Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers. 2006-10-31 17:51:54 +00:00
Gisle Vanem d4bc2387b5 Added '-d' option for Watt32 targets. Added cvs id. 2006-10-25 14:13:35 +00:00
Yang Tse 77ac18117c Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Yang Tse dd3b42e1ac Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().
2006-10-18 03:42:06 +00:00
Gisle Vanem 4cef1942be Use ares_free_string() to avoid detecting leaks. 2006-07-22 15:12:34 +00:00
Yang Tse c4e7de9bdd Fix compiler warning 2005-12-17 23:34:21 +00:00
Gisle Vanem 7bd15b8baa Include <getopt.h>.
Use DNS__32BIT() and DNS__16BIT()  (How about BE machines?).
Display T_AAAA resource.
2005-11-12 14:41:12 +00:00
Daniel Stenberg 3e748f4b50 removed tabs and trailing whitespace from source 2004-10-06 07:50:18 +00:00