Yang Tse 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
..
m4 dd8d472318 Added CARES_INCLUDES_SYS_TYPES 15 years ago
vc 068312ecb8 cope with ares_build.h and ares_rules.h 15 years ago
.cvsignore 1a2b88964f Initial step towards a configure time ares_socklen_t definition 15 years ago
AUTHORS 2946d87e48 added the three people from RELEASE-NOTES and sorted the list alphabetically 16 years ago
CHANGES 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
Makefile.am d36a86a12c buildconf.bat for CVS-tree c-ares 15 years ago
Makefile.dj 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
Makefile.inc 1a2b88964f Initial step towards a configure time ares_socklen_t definition 15 years ago
Makefile.m32 068312ecb8 cope with ares_build.h and ares_rules.h 15 years ago
Makefile.netware 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
Makefile.vc6 6e8c73fd38 cope with ares_build.h and ares_rules.h follow-up 15 years ago
NEWS c85bf83e88 - Fixed a few variable return types for some system calls. Made configure 20 years ago
README 02db4450df just to clarify that c-ares actually have some ipv6 support 16 years ago
README.cares 2912d993c2 s/libcurl/c-ares 15 years ago
RELEASE-NOTES 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
TODO c1b8e93083 Added a TODO file to list things we want changed, added or fixed. 16 years ago
acinclude.m4 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
acountry.c 0922a0fc3f s/u_long/unsigned long/ 15 years ago
adig.c 63397e380f fix compiler warning 16 years ago
ahost.c 1a2b88964f Initial step towards a configure time ares_socklen_t definition 15 years ago
ares.h 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
ares__close_sockets.c d426c20c0a Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends while queued for transmission, note broken servers and close them in the main loop, and store TCP socket generation number in order not to send the same query twice over the same socket. 17 years ago
ares__get_hostent.c c382c550e7 fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value 15 years ago
ares__read_line.c 93858efe73 2nd try adding CVS id. 18 years ago
ares__timeval.c 97333deb3f fallback to gettimeofday when monotonic clock is unavailable at run-time 16 years ago
ares_build.h.dist 589d2ee7b5 David McCreedy's "TPF-platform specific changes to various files" patch follow-up 15 years ago
ares_build.h.in 06462e8a92 ares_build.h Windows follow-up 15 years ago
ares_cancel.3 a683658675 This function was added in c-ares [version] 19 years ago
ares_cancel.c 45c6db9ac4 Clarified the comment over ares_cancel. 17 years ago
ares_destroy.3 7fd1ce4dc3 NORECURSE clarification, minor formatting update 20 years ago
ares_destroy.c 81249965f7 Moved the NULL check for channel upwards in ares_destroy(). 17 years ago
ares_destroy_options.3 f5713dbb2e ares_destroy_options() and ares_save_options() man pages by Brad House 17 years ago
ares_dns.h 9896421586 compiler warning fix 18 years ago
ares_dup.3 dd3594c6b3 Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards. 16 years ago
ares_expand_name.3 4af66b70fc removed odd newline 21 years ago
ares_expand_name.c 32b75d1b69 - Phil Blundell added the internal function ares__expand_name_for_response() 16 years ago
ares_expand_string.3 a83b5d1b67 Mention first version with CURLOPT_COPYPOSTFIELDS. 17 years ago
ares_expand_string.c f33f8eee26 Make sure sys/socket.h is included before netinet/in.h (required by 16 years ago
ares_fds.3 0436fbe226 ares 1.1.1 with collected applied patches 21 years ago
ares_fds.c 23f5d145ec Previously, processing a large batch of timeouts was O(n^2) in the number of 17 years ago
ares_free_hostent.3 598c589359 added another SEE ALSO 17 years ago
ares_free_hostent.c 8629620b1c fix the bad bad bad mess this caused on name resolves returning more than 17 years ago
ares_free_string.3 be8f8e66a4 Dominick Meglio's new ares_expand_string() function 20 years ago
ares_free_string.c 93858efe73 2nd try adding CVS id. 18 years ago
ares_gethostbyaddr.3 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.) 17 years ago
ares_gethostbyaddr.c c382c550e7 fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value 15 years ago
ares_gethostbyname.3 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.) 17 years ago
ares_gethostbyname.c c382c550e7 fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value 15 years ago
ares_gethostbyname_file.3 7383225271 - Brad Spencer brought the new function ares_gethostbyname_file() which simply 16 years ago
ares_getnameinfo.3 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
ares_getnameinfo.c 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
ares_getopt.c 26aeadbc3e fix compiler warning: assignment within conditional expression 16 years ago
ares_getopt.h 66d38261f7 Undefine 'optarg', 'optind' and 'opterr' when using Watt-32 16 years ago
ares_getsock.3 a683658675 This function was added in c-ares [version] 19 years ago
ares_getsock.c 2694b970e8 Port the TCP socket fix made in ares_fds() to ares_getsock() as well. 17 years ago
ares_init.3 dd3594c6b3 Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards. 16 years ago
ares_init.c 137ef36757 avoid use of alloca() 15 years ago
ares_init_options.3 0436fbe226 ares 1.1.1 with collected applied patches 21 years ago
ares_ipv6.h 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
ares_llist.c b03abddb28 Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists. 17 years ago
ares_llist.h b03abddb28 Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists. 17 years ago
ares_mkquery.3 ce6b767b47 minor edits 20 years ago
ares_mkquery.c f33f8eee26 Make sure sys/socket.h is included before netinet/in.h (required by 16 years ago
ares_parse_a_reply.3 17fde12fb8 Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree. 17 years ago
ares_parse_a_reply.c 9cc6ab3922 use HAVE_LIMITS_H symbol to protect limits.h inclusion 15 years ago
ares_parse_aaaa_reply.3 17fde12fb8 Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree. 17 years ago
ares_parse_aaaa_reply.c 9cc6ab3922 use HAVE_LIMITS_H symbol to protect limits.h inclusion 15 years ago
ares_parse_ns_reply.3 7ba53a4f41 Vlad Dinulescu added ares_parse_ns_reply() 17 years ago
ares_parse_ns_reply.c 32b75d1b69 - Phil Blundell added the internal function ares__expand_name_for_response() 16 years ago
ares_parse_ptr_reply.3 b643d148b1 Dominick Meglio man page fixes 20 years ago
ares_parse_ptr_reply.c 32b75d1b69 - Phil Blundell added the internal function ares__expand_name_for_response() 16 years ago
ares_private.h 32b75d1b69 - Phil Blundell added the internal function ares__expand_name_for_response() 16 years ago
ares_process.3 670273968c added ares_process_fd() to allow applications to ask for processing on 17 years ago
ares_process.c 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
ares_query.3 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.) 17 years ago
ares_query.c f33f8eee26 Make sure sys/socket.h is included before netinet/in.h (required by 16 years ago
ares_rules.h 3d491c470b ares_socklen_t follow-up 15 years ago
ares_save_options.3 dd3594c6b3 Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards. 16 years ago
ares_search.3 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.) 17 years ago
ares_search.c 89ecf4ac01 fopen() returns error in 'errno' even on Windows. 16 years ago
ares_send.3 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.) 17 years ago
ares_send.c f33f8eee26 Make sure sys/socket.h is included before netinet/in.h (required by 16 years ago
ares_set_socket_callback.3 dff4ce92ad the initial version of the ares_set_socket_callback man page 16 years ago
ares_strcasecmp.c 8085c7a450 rearrange to allow internal/private use of ares_strcasecmp to any system that 16 years ago
ares_strcasecmp.h 8085c7a450 rearrange to allow internal/private use of ares_strcasecmp to any system that 16 years ago
ares_strdup.c 6d233becf0 change CRLF into LF line endings 16 years ago
ares_strdup.h 6d233becf0 change CRLF into LF line endings 16 years ago
ares_strerror.3 83f11b1c9b mention incompatibilities with ares 20 years ago
ares_strerror.c dbd4abf0ff Prevent ares_strerror() from segfaulting if an invalid error code is passed 17 years ago
ares_timeout.3 ce6b767b47 minor edits 20 years ago
ares_timeout.c 164a985115 millisecond resolution support followup 16 years ago
ares_version.3 9f4e682ca9 added notes about incompatible functions 21 years ago
ares_version.c c85bf83e88 - Fixed a few variable return types for some system calls. Made configure 20 years ago
ares_version.h 21700ae515 start over on the 1.6.1 release... 16 years ago
ares_writev.c 9cc6ab3922 use HAVE_LIMITS_H symbol to protect limits.h inclusion 15 years ago
ares_writev.h aa41743ebd rearrange to allow internal/private use of ares_writev to any system 16 years ago
bitncmp.c ee1235a7cd Removed inclusion of <sys/types.h> in .c-files 17 years ago
bitncmp.h 1746b57161 fill in missing copyrights 17 years ago
buildconf a30a6f2f20 Brad Spencer provided changes to allow buildconf to work on OS X. 16 years ago
buildconf.bat ec16121fb3 fix EOL 15 years ago
config-win32.h 9cc6ab3922 use HAVE_LIMITS_H symbol to protect limits.h inclusion 15 years ago
configure.ac 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
get_ver.awk 6cc8df95dd added get_ver.awk since c-ares is a standalone project, and should therefore also compile when cURL is absent. 16 years ago
inet_net_pton.c 4d437416da HAVE_INET_PTON will only be defined when an IPv6 capable working 16 years ago
inet_net_pton.h 4d437416da HAVE_INET_PTON will only be defined when an IPv6 capable working 16 years ago
inet_ntop.c 142cb601f8 HAVE_INET_NTOP will only be defined when an IPv6 capable working 16 years ago
inet_ntop.h 142cb601f8 HAVE_INET_NTOP will only be defined when an IPv6 capable working 16 years ago
install-sh 9db5dfc15d added for completeness 21 years ago
libcares.pc.in 6cd007838d fix pkg-config reporting of private libraries needed for static linking 16 years ago
maketgz 0f5f91df0b fix the output name 16 years ago
mkinstalldirs 9db5dfc15d added for completeness 21 years ago
nameser.h 39de6c784c adjust inclusion of "nameser.h" 16 years ago
setup.h 1a2b88964f Initial step towards a configure time ares_socklen_t definition 15 years ago
setup_once.h 80186aa7f4 Use build-time configured ares_socklen_t instead of socklen_t 15 years ago
windows_port.c 39de6c784c adjust inclusion of "nameser.h" 16 years ago

README

This is c-ares, a forked version of the original ares. The original ares
README follows below, the c-ares specific details are in README.cares

====================================================================

This is ares, an asynchronous resolver library. It is intended for
applications which need to perform DNS queries without blocking, or
need to perform multiple DNS queries in parallel. The primary
examples of such applications are servers which communicate with
multiple clients and programs with graphical user interfaces.

This library implementation is not especially portable to crufty old
systems like SunOS 4. It assumes a compiler which can handle ANSI C
syntax, a system malloc which properly handles realloc(NULL, foo) and
free(NULL), and a reasonably up-to-date .

I have attempted to preserve the externally visible behavior of the
BIND resolver in nearly all respects. The API of the library is, of
course, very different from the synchronous BIND API; instead of
invoking a function like res_send() and getting a return value back
indicating the number of bytes in the response, you invoke a function
like ares_send() and give it a callback function to invoke when the
response arrives. You then have to select() on the file descriptors
indicated by ares_fds(), with a timeout given by ares_timeout(). You
call ares_process() when select() returns.

Some features are missing from the current version of ares, relative
to the BIND resolver:

* There is no IPV6 support. [not true for c-ares]
* There is no hostname verification.
* There is no logging of unexpected events.
* There is no debugging-oriented logging.
* There is no YP support.

libares requires an ANSI compiler to compile and use. To build the
library, just run "./configure" and "make". To install it, run "make
install". Run "./configure --help" to see a list of options you can
provide to configure to change how the library builds. libares has no
data files, so you can move the include file and library around freely
without leaving behind any dependencies on old paths. Building the
library will also build the "adig" program, a little toy for trying
out the library. It doesn't get installed.

libares is distributed at athena-dist.mit.edu:pub/ATHENA/ares. Please
send bug reports and comments to ghudson@mit.edu.