1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 20:13:19 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
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
63627fa5ab remove all $Id$ lines 2010-03-27 19:42:02 +01:00
8fe746fcf2 Added IPv6 name servers support 2010-03-05 20:01:47 +00:00
1c5f8be38d Fix compiler warning: conditional expression is constant 2009-11-10 18:41:03 +00:00
a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 2009-11-02 11:55:53 +00:00
b7c7bab713 Introduction of ares_library_init() and ares_library_cleanup() 2009-05-17 17:11:28 +00:00
5fc305a0ba Initial step towards a configure time ares_socklen_t definition 2009-04-28 16:47:33 +00:00
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
940b551d2a fix compiler warning: unreferenced formal parameter 2008-05-26 13:52:25 +00:00
d4d2f9dc22 include strings.h (if available) for the strcasecmp() proto 2008-05-08 22:14:17 +00:00
8627b23715 Needed now that in6_addr is referenced in ares.h 2007-11-15 19:44:01 +00:00
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
35b7d08768 move linkage var declarations to ares_getopt.h 2007-04-16 15:35:34 +00:00
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
088a4d923a use ares_getopt for all platforms 2007-04-12 19:01:19 +00:00
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
908070821e Cleanup WIN32 target using WSACleanup(). 2007-02-21 15:01:51 +00:00
f5055ad5ae INADDR_NONE no longer used. 2007-02-06 19:14:33 +00:00
6413a26a88 Added debug option ('-d') for Watt-32 programs. 2007-02-06 19:12:38 +00:00
54d5320745 Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
Added 'optind' and 'optarg' as in adig.c.
2007-02-06 18:56:34 +00:00
48d6915d8b Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers. 2006-10-31 17:51:54 +00:00
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
383126b38f Added getopt() processing of [-t {a|aaaa}]. 2006-07-22 17:31:00 +00:00
831818677b Update using ares_inet_pton() and ares_inet_ntop(). 2005-11-11 04:28:23 +00:00
3e748f4b50 removed tabs and trailing whitespace from source 2004-10-06 07:50:18 +00:00
d5f3636a52 - Fixed a few variable return types for some system calls. Made configure
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-07-22 22:18:45 +00:00
69cfbb9f48 Gisle Vanem fixed the bad argc check 2004-03-09 09:43:30 +00:00
59c69ebd1a removed usage of unset variables (by a function that does nothing!) 2004-02-13 12:28:27 +00:00
950eb09ae5 use the new single-argument ares_strerror() 2004-02-02 16:15:58 +00:00
3d0a7c00df remove rcsid stuff from c files, it serves no useful purpose 2004-02-02 15:59:35 +00:00
5e847a14bd ares 1.1.1 with collected applied patches 2003-10-07 21:54:04 +00:00