Daniel Stenberg
cf7ad9758d
ares_inet_pton/ntop: cleanup
...
Make sure that the symbols are always exported and present in c-ares.
Make the headers prefixed with 'ares'.
Removed the inet_ntop.h version as it no longer features any content.
12 years ago
Daniel Stenberg
3cb1afe054
strlen: use size_t to receive the return
14 years ago
Daniel Stenberg
d70721eb65
ares_set_servers_csv: remove unused variables
14 years ago
Yang Tse
e3f7230dc2
atoi: remove atoi usage
14 years ago
Yang Tse
b8044334f0
ares_options: reorder header inclusions to make inclusion of
...
ares_private.h the last included one again.
14 years ago
Daniel Stenberg
cef3a4c7aa
ares_set_servers_csv: use ISDIGIT
...
The IS*() set of macros are preferred to the regular is*() functions as
they help us avoid the most common pitfalls.
15 years ago
Ben Greear
8d33804971
cast arg to isdigit to int
...
Looks like it might silence a warning on Netware build.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
1ac83339e3
local-bind-fixup: Fix inet_pton warning.
...
Conditionally include <arpa/inet.h> for inet_pton
headers.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
3e33e2c2ba
ipv6: Fix some build issues related to the local-bind feature.
...
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Ben Greear
e3b04e5a47
local-bind: Support binding to local interface/IPs
...
Add 3 new functions to set the local binding for the out-going
socket connection, and add ares_set_servers_csv() to set a
list of servers at once as a comma-separated string.
Signed-off-by: Ben Greear <greearb@candelatech.com>
15 years ago
Daniel Stenberg
63627fa5ab
remove all $Id$ lines
15 years ago
Yang Tse
8fe746fcf2
Added IPv6 name servers support
15 years ago