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

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.