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

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.