Yang Tse
8085c7a450
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
d220ac8582
fix compiler warning: unreferenced formal parameter
2008-05-26 13:52:25 +00:00
Daniel Stenberg
cf4570a06f
include strings.h (if available) for the strcasecmp() proto
2008-05-08 22:14:17 +00:00
Yang Tse
ca95f58ac0
Needed now that in6_addr is referenced in ares.h
2007-11-15 19:44:01 +00:00
Steinar H. Gunderson
6ce589c3ee
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
827228bd69
move linkage var declarations to ares_getopt.h
2007-04-16 15:35:34 +00:00
Yang Tse
0563a7a923
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
2364066be0
use ares_getopt for all platforms
2007-04-12 19:01:19 +00:00
Gisle Vanem
ee1235a7cd
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
45bf417301
Cleanup WIN32 target using WSACleanup().
2007-02-21 15:01:51 +00:00
Gisle Vanem
529e01736c
INADDR_NONE no longer used.
2007-02-06 19:14:33 +00:00
Gisle Vanem
078fc4186b
Added debug option ('-d') for Watt-32 programs.
2007-02-06 19:12:38 +00:00
Gisle Vanem
1fa9ef246a
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
Gisle Vanem
561d01c450
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
2006-10-31 17:51:54 +00:00
Yang Tse
5df4be1165
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
Gisle Vanem
132067b081
Added getopt() processing of [-t {a|aaaa}].
2006-07-22 17:31:00 +00:00
Gisle Vanem
b7a673c6e2
Update using ares_inet_pton() and ares_inet_ntop().
2005-11-11 04:28:23 +00:00
Daniel Stenberg
39af394a1c
removed tabs and trailing whitespace from source
2004-10-06 07:50:18 +00:00
Daniel Stenberg
c85bf83e88
- 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
Daniel Stenberg
bd42a2acb1
Gisle Vanem fixed the bad argc check
2004-03-09 09:43:30 +00:00
Daniel Stenberg
3a36d4fdea
removed usage of unset variables (by a function that does nothing!)
2004-02-13 12:28:27 +00:00
Daniel Stenberg
462d1c5231
use the new single-argument ares_strerror()
2004-02-02 16:15:58 +00:00
Daniel Stenberg
1442fab4b6
remove rcsid stuff from c files, it serves no useful purpose
2004-02-02 15:59:35 +00:00
Daniel Stenberg
0436fbe226
ares 1.1.1 with collected applied patches
2003-10-07 21:54:04 +00:00