Commit Graph
12 Commits
Author SHA1 Message Date
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.
2013-02-17 17:44:02 +01:00
Daniel Stenberg 3cb1afe054 strlen: use size_t to receive the return 2011-06-04 20:14:38 +02:00
Daniel Stenberg d70721eb65 ares_set_servers_csv: remove unused variables 2010-12-27 13:19:37 +01:00
Yang Tse e3f7230dc2 atoi: remove atoi usage 2010-11-29 02:22:08 +01:00
Yang Tse b8044334f0 ares_options: reorder header inclusions to make inclusion of
ares_private.h the last included one again.
2010-11-12 16:34:34 +01:00
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.
2010-07-31 00:16:39 +02:00
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>
2010-07-30 15:11:54 -07:00
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>
2010-07-30 00:10:16 -07:00
Ben Greear 3e33e2c2ba ipv6: Fix some build issues related to the local-bind feature.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-07-29 22:31:56 -07:00
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>
2010-07-18 23:58:39 +02:00
Daniel Stenberg 63627fa5ab remove all $Id$ lines 2010-03-27 19:42:02 +01:00
Yang Tse 8fe746fcf2 Added IPv6 name servers support 2010-03-05 20:01:47 +00:00