Yang Tse
fb4df6febc
ares_gethostbyaddr: fix compiler warning: conversion may lose significant bits
14 years ago
Ben Greear
03c1378e84
fix signed v/s unsigned casts warning in ares_gethostbyaddr.c
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Daniel Stenberg
0e8dc6f18e
style: make code less than 80 columns wide
15 years ago
Daniel Stenberg
63627fa5ab
remove all $Id$ lines
15 years ago
Yang Tse
e51156c080
removed usage of 's6_addr', fixing compilation issue triggered with no
...
15 years ago
Yang Tse
8fe746fcf2
Added IPv6 name servers support
15 years ago
Yang Tse
a82a8fbf82
Renamed c-ares setup.h to ares_setup.h
15 years ago
Yang Tse
737707bf4b
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
16 years ago
Gisle Vanem
f94afa4fdc
Constified some arguments in local functions.
16 years ago
Dan Fandrich
daa44aa9b1
C89 compilers (like Minix' ACK) only need to handle 31 functions arguments
...
so split a long sprintf into two calls to get below that number.
16 years ago
Yang Tse
aa1534eb20
In preparation for the upcomming IPv6 nameservers patch, the internal
...
ares_addr union is now changed into an internal struct which also holds
the address family.
16 years ago
Yang Tse
f214b583f5
adjust inclusion of "nameser.h"
16 years ago
Yang Tse
f2582d6949
include header file only when available
16 years ago
Yang Tse
2cb5cbba34
move inclusion of ares_private.h last
16 years ago
Yang Tse
6606c99b86
Fix three issues previous cleanup introduces.
17 years ago
Daniel Stenberg
aae96300a4
Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhat
17 years ago
Daniel Stenberg
9c143e4444
the gethostbyname fix applied here as well
17 years ago
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
Gisle Vanem
a627160041
Removed inclusion of <sys/types.h> in .c-files
...
since it's already included through "setup.h".
18 years ago
Yang Tse
679a675660
add debug messages for initialization failures
18 years ago
Yang Tse
45b2661a5a
compiler warning fix
18 years ago
Yang Tse
675bdce3b2
compiler warning fix
18 years ago
Yang Tse
8595ddf7c4
add debug messages for fopen() failures
18 years ago
Gisle Vanem
46774e514d
Detabified. Added CVS id.
19 years ago
Daniel Stenberg
b117fef909
detabified
20 years ago
Dominick Meglio
7012fc65d9
Made sortlist support IPv6 (this can probably use some testing)
20 years ago
Dominick Meglio
00b7a550b5
Added preliminary IPv6 support to ares_gethostbyname
20 years ago
Dominick Meglio
29d71bd499
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
20 years ago
Daniel Stenberg
b41effd113
Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
...
X.
20 years ago
Daniel Stenberg
6010f4503c
typecase to fix win32 compiler warning (and intended as other code is)
20 years ago
Daniel Stenberg
994f16d733
untabified
20 years ago
Gisle Vanem
6c64cc8669
Replace IsNT with IS_NT().
...
Return correct timeval in windows_port.c.
Squelch gcc warnings:
use 'ares_socket_t' in ares_fds.c.
Don't cast a 'lvalue' in ares_init.c.
20 years ago
Daniel Stenberg
3e748f4b50
removed tabs and trailing whitespace from source
20 years ago
Daniel Stenberg
2bf866b0ce
Dominick Meglio host file path discovery patch for windows
20 years ago
Gisle Vanem
0f51a17667
More patches for Watt-32 on Win32; don't include "nameser.h".
21 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
e7293e0779
djgpp fixes by Gisle
21 years ago
Daniel Stenberg
155aadf0b3
changed the long to int typecasts to see if icc 8.0 complains less on this
21 years ago
Daniel Stenberg
c7c24e3de7
typecase the bitfiddling results since we get a long and we store an int,
...
they may not be of the size size
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