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.)
17 years ago
Yang Tse
35b7d08768
move linkage var declarations to ares_getopt.h
18 years ago
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
18 years ago
Yang Tse
088a4d923a
use ares_getopt for all platforms
18 years ago
Gisle Vanem
a627160041
Removed inclusion of <sys/types.h> in .c-files
...
since it's already included through "setup.h".
18 years ago
Gisle Vanem
908070821e
Cleanup WIN32 target using WSACleanup().
18 years ago
Gisle Vanem
b00a5ffbd8
INADDR_NONE no longer used.
18 years ago
Yang Tse
69fa447354
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
18 years ago
Gisle Vanem
2776f1ed03
Fix compiler warning.
18 years ago
Gisle Vanem
7ac09a058c
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
18 years ago
Gisle Vanem
48d6915d8b
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
18 years ago
Gisle Vanem
d4bc2387b5
Added '-d' option for Watt32 targets. Added cvs id.
18 years ago
Yang Tse
77ac18117c
Check for USE_WINSOCK instead of WIN32 where the check was done
...
to verify winsock API availability.
18 years ago
Yang Tse
dd3b42e1ac
Replace is*() macros with our own IS*() ones.
...
Get rid of non ANSI/ISO isascii().
18 years ago
Gisle Vanem
4cef1942be
Use ares_free_string() to avoid detecting leaks.
19 years ago
Yang Tse
c4e7de9bdd
Fix compiler warning
19 years ago
Gisle Vanem
7bd15b8baa
Include <getopt.h>.
...
Use DNS__32BIT() and DNS__16BIT() (How about BE machines?).
Display T_AAAA resource.
19 years ago
Daniel Stenberg
3e748f4b50
removed tabs and trailing whitespace from source
20 years ago
Daniel Stenberg
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.
21 years ago
Daniel Stenberg
961876c001
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
21 years ago
Daniel Stenberg
59c69ebd1a
removed usage of unset variables (by a function that does nothing!)
21 years ago
Daniel Stenberg
d4c916822a
fixed "comparison between signed and unsigned" complaints
21 years ago
Daniel Stenberg
950eb09ae5
use the new single-argument ares_strerror()
21 years ago
Daniel Stenberg
3d0a7c00df
remove rcsid stuff from c files, it serves no useful purpose
21 years ago
Daniel Stenberg
5e847a14bd
ares 1.1.1 with collected applied patches
21 years ago