Yang Tse
39b689f966
make previous compiler warning fix more portable
2008-04-07 19:12:35 +00:00
Yang Tse
ab8d1464a7
fix compiler warning: indirection to slightly different base types
2008-04-07 14:37:17 +00:00
Yang Tse
74c500b6ec
fix compiler warning: unreferenced formal parameter
2008-04-07 12:44:47 +00:00
Daniel Stenberg
592697583d
Alexey Simak made adig support NAPTR records
2008-04-04 20:24:41 +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
9993e2121d
INADDR_NONE no longer used.
2007-02-19 17:41:38 +00:00
Yang Tse
059b57677c
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 15:04:44 +00:00
Gisle Vanem
1db063e705
Fix compiler warning.
2007-02-06 19:00:42 +00:00
Gisle Vanem
e12220cc4c
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
2007-02-06 18:54:35 +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
Gisle Vanem
6296b89319
Added '-d' option for Watt32 targets. Added cvs id.
2006-10-25 14:13:35 +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
Yang Tse
9c1ad0f9f7
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
2f70fb7015
Use ares_free_string() to avoid detecting leaks.
2006-07-22 15:12:34 +00:00
Yang Tse
81b06a09b7
Fix compiler warning
2005-12-17 23:34:21 +00:00
Gisle Vanem
7ca2f31c8d
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
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
c7fe8a7a11
make ares_expand_name() take a long * instead of an int *, since we do
...
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need
long
2004-02-23 07:52:20 +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
9c95ebcbe7
fixed "comparison between signed and unsigned" complaints
2004-02-04 10:24:23 +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