android13/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
m4 initial 2024-06-22 20:45:49 +08:00
test initial 2024-06-22 20:45:49 +08:00
travis initial 2024-06-22 20:45:49 +08:00
vc initial 2024-06-22 20:45:49 +08:00
.travis.yml initial 2024-06-22 20:45:49 +08:00
AUTHORS initial 2024-06-22 20:45:49 +08:00
CHANGES initial 2024-06-22 20:45:49 +08:00
CHANGES.0 initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
CONTRIBUTING.md initial 2024-06-22 20:45:49 +08:00
GIT-INFO initial 2024-06-22 20:45:49 +08:00
INSTALL.md initial 2024-06-22 20:45:49 +08:00
LICENSE.md initial 2024-06-22 20:45:49 +08:00
Makefile.Watcom initial 2024-06-22 20:45:49 +08:00
Makefile.am initial 2024-06-22 20:45:49 +08:00
Makefile.dj initial 2024-06-22 20:45:49 +08:00
Makefile.inc initial 2024-06-22 20:45:49 +08:00
Makefile.m32 initial 2024-06-22 20:45:49 +08:00
Makefile.msvc initial 2024-06-22 20:45:49 +08:00
Makefile.netware initial 2024-06-22 20:45:49 +08:00
NEWS initial 2024-06-22 20:45:49 +08:00
README.cares initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
README.msvc initial 2024-06-22 20:45:49 +08:00
RELEASE-NOTES initial 2024-06-22 20:45:49 +08:00
RELEASE-PROCEDURE.md initial 2024-06-22 20:45:49 +08:00
SECURITY.md initial 2024-06-22 20:45:49 +08:00
TODO initial 2024-06-22 20:45:49 +08:00
acinclude.m4 initial 2024-06-22 20:45:49 +08:00
acountry.1 initial 2024-06-22 20:45:49 +08:00
acountry.c initial 2024-06-22 20:45:49 +08:00
adig.1 initial 2024-06-22 20:45:49 +08:00
adig.c initial 2024-06-22 20:45:49 +08:00
ahost.1 initial 2024-06-22 20:45:49 +08:00
ahost.c initial 2024-06-22 20:45:49 +08:00
appveyor.yml initial 2024-06-22 20:45:49 +08:00
ares.h initial 2024-06-22 20:45:49 +08:00
ares__close_sockets.c initial 2024-06-22 20:45:49 +08:00
ares__get_hostent.c initial 2024-06-22 20:45:49 +08:00
ares__read_line.c initial 2024-06-22 20:45:49 +08:00
ares__timeval.c initial 2024-06-22 20:45:49 +08:00
ares_android.c initial 2024-06-22 20:45:49 +08:00
ares_android.h initial 2024-06-22 20:45:49 +08:00
ares_build.h.cmake initial 2024-06-22 20:45:49 +08:00
ares_build.h.dist initial 2024-06-22 20:45:49 +08:00
ares_build.h.in initial 2024-06-22 20:45:49 +08:00
ares_cancel.3 initial 2024-06-22 20:45:49 +08:00
ares_cancel.c initial 2024-06-22 20:45:49 +08:00
ares_config.h.cmake initial 2024-06-22 20:45:49 +08:00
ares_create_query.3 initial 2024-06-22 20:45:49 +08:00
ares_create_query.c initial 2024-06-22 20:45:49 +08:00
ares_data.c initial 2024-06-22 20:45:49 +08:00
ares_data.h initial 2024-06-22 20:45:49 +08:00
ares_destroy.3 initial 2024-06-22 20:45:49 +08:00
ares_destroy.c initial 2024-06-22 20:45:49 +08:00
ares_destroy_options.3 initial 2024-06-22 20:45:49 +08:00
ares_dns.h initial 2024-06-22 20:45:49 +08:00
ares_dup.3 initial 2024-06-22 20:45:49 +08:00
ares_expand_name.3 initial 2024-06-22 20:45:49 +08:00
ares_expand_name.c initial 2024-06-22 20:45:49 +08:00
ares_expand_string.3 initial 2024-06-22 20:45:49 +08:00
ares_expand_string.c initial 2024-06-22 20:45:49 +08:00
ares_fds.3 initial 2024-06-22 20:45:49 +08:00
ares_fds.c initial 2024-06-22 20:45:49 +08:00
ares_free_data.3 initial 2024-06-22 20:45:49 +08:00
ares_free_hostent.3 initial 2024-06-22 20:45:49 +08:00
ares_free_hostent.c initial 2024-06-22 20:45:49 +08:00
ares_free_string.3 initial 2024-06-22 20:45:49 +08:00
ares_free_string.c initial 2024-06-22 20:45:49 +08:00
ares_get_servers.3 initial 2024-06-22 20:45:49 +08:00
ares_get_servers_ports.3 initial 2024-06-22 20:45:49 +08:00
ares_getenv.c initial 2024-06-22 20:45:49 +08:00
ares_getenv.h initial 2024-06-22 20:45:49 +08:00
ares_gethostbyaddr.3 initial 2024-06-22 20:45:49 +08:00
ares_gethostbyaddr.c initial 2024-06-22 20:45:49 +08:00
ares_gethostbyname.3 initial 2024-06-22 20:45:49 +08:00
ares_gethostbyname.c initial 2024-06-22 20:45:49 +08:00
ares_gethostbyname_file.3 initial 2024-06-22 20:45:49 +08:00
ares_getnameinfo.3 initial 2024-06-22 20:45:49 +08:00
ares_getnameinfo.c initial 2024-06-22 20:45:49 +08:00
ares_getopt.c initial 2024-06-22 20:45:49 +08:00
ares_getopt.h initial 2024-06-22 20:45:49 +08:00
ares_getsock.3 initial 2024-06-22 20:45:49 +08:00
ares_getsock.c initial 2024-06-22 20:45:49 +08:00
ares_inet_net_pton.h initial 2024-06-22 20:45:49 +08:00
ares_inet_ntop.3 initial 2024-06-22 20:45:49 +08:00
ares_inet_pton.3 initial 2024-06-22 20:45:49 +08:00
ares_init.3 initial 2024-06-22 20:45:49 +08:00
ares_init.c initial 2024-06-22 20:45:49 +08:00
ares_init_options.3 initial 2024-06-22 20:45:49 +08:00
ares_iphlpapi.h initial 2024-06-22 20:45:49 +08:00
ares_ipv6.h initial 2024-06-22 20:45:49 +08:00
ares_library_cleanup.3 initial 2024-06-22 20:45:49 +08:00
ares_library_init.3 initial 2024-06-22 20:45:49 +08:00
ares_library_init.c initial 2024-06-22 20:45:49 +08:00
ares_library_init.h initial 2024-06-22 20:45:49 +08:00
ares_library_init_android.3 initial 2024-06-22 20:45:49 +08:00
ares_library_initialized.3 initial 2024-06-22 20:45:49 +08:00
ares_llist.c initial 2024-06-22 20:45:49 +08:00
ares_llist.h initial 2024-06-22 20:45:49 +08:00
ares_mkquery.3 initial 2024-06-22 20:45:49 +08:00
ares_mkquery.c initial 2024-06-22 20:45:49 +08:00
ares_nowarn.c initial 2024-06-22 20:45:49 +08:00
ares_nowarn.h initial 2024-06-22 20:45:49 +08:00
ares_options.c initial 2024-06-22 20:45:49 +08:00
ares_parse_a_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_a_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_aaaa_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_aaaa_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_mx_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_mx_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_naptr_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_naptr_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_ns_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_ns_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_ptr_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_ptr_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_soa_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_soa_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_srv_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_srv_reply.c initial 2024-06-22 20:45:49 +08:00
ares_parse_txt_reply.3 initial 2024-06-22 20:45:49 +08:00
ares_parse_txt_reply.c initial 2024-06-22 20:45:49 +08:00
ares_platform.c initial 2024-06-22 20:45:49 +08:00
ares_platform.h initial 2024-06-22 20:45:49 +08:00
ares_private.h initial 2024-06-22 20:45:49 +08:00
ares_process.3 initial 2024-06-22 20:45:49 +08:00
ares_process.c initial 2024-06-22 20:45:49 +08:00
ares_query.3 initial 2024-06-22 20:45:49 +08:00
ares_query.c initial 2024-06-22 20:45:49 +08:00
ares_rules.h initial 2024-06-22 20:45:49 +08:00
ares_save_options.3 initial 2024-06-22 20:45:49 +08:00
ares_search.3 initial 2024-06-22 20:45:49 +08:00
ares_search.c initial 2024-06-22 20:45:49 +08:00
ares_send.3 initial 2024-06-22 20:45:49 +08:00
ares_send.c initial 2024-06-22 20:45:49 +08:00
ares_set_local_dev.3 initial 2024-06-22 20:45:49 +08:00
ares_set_local_ip4.3 initial 2024-06-22 20:45:49 +08:00
ares_set_local_ip6.3 initial 2024-06-22 20:45:49 +08:00
ares_set_servers.3 initial 2024-06-22 20:45:49 +08:00
ares_set_servers_csv.3 initial 2024-06-22 20:45:49 +08:00
ares_set_servers_ports.3 initial 2024-06-22 20:45:49 +08:00
ares_set_servers_ports_csv.3 initial 2024-06-22 20:45:49 +08:00
ares_set_socket_callback.3 initial 2024-06-22 20:45:49 +08:00
ares_set_socket_configure_callback.3 initial 2024-06-22 20:45:49 +08:00
ares_set_socket_functions.3 initial 2024-06-22 20:45:49 +08:00
ares_set_sortlist.3 initial 2024-06-22 20:45:49 +08:00
ares_setup.h initial 2024-06-22 20:45:49 +08:00
ares_strcasecmp.c initial 2024-06-22 20:45:49 +08:00
ares_strcasecmp.h initial 2024-06-22 20:45:49 +08:00
ares_strdup.c initial 2024-06-22 20:45:49 +08:00
ares_strdup.h initial 2024-06-22 20:45:49 +08:00
ares_strerror.3 initial 2024-06-22 20:45:49 +08:00
ares_strerror.c initial 2024-06-22 20:45:49 +08:00
ares_strsplit.c initial 2024-06-22 20:45:49 +08:00
ares_strsplit.h initial 2024-06-22 20:45:49 +08:00
ares_timeout.3 initial 2024-06-22 20:45:49 +08:00
ares_timeout.c initial 2024-06-22 20:45:49 +08:00
ares_version.3 initial 2024-06-22 20:45:49 +08:00
ares_version.c initial 2024-06-22 20:45:49 +08:00
ares_version.h initial 2024-06-22 20:45:49 +08:00
ares_writev.c initial 2024-06-22 20:45:49 +08:00
ares_writev.h initial 2024-06-22 20:45:49 +08:00
bitncmp.c initial 2024-06-22 20:45:49 +08:00
bitncmp.h initial 2024-06-22 20:45:49 +08:00
buildconf initial 2024-06-22 20:45:49 +08:00
buildconf.bat initial 2024-06-22 20:45:49 +08:00
c-ares-config.cmake.in initial 2024-06-22 20:45:49 +08:00
cares.rc initial 2024-06-22 20:45:49 +08:00
config-dos.h initial 2024-06-22 20:45:49 +08:00
config-win32.h initial 2024-06-22 20:45:49 +08:00
configure.ac initial 2024-06-22 20:45:49 +08:00
get_ver.awk initial 2024-06-22 20:45:49 +08:00
git2changes.pl initial 2024-06-22 20:45:49 +08:00
inet_net_pton.c initial 2024-06-22 20:45:49 +08:00
inet_ntop.c initial 2024-06-22 20:45:49 +08:00
libcares.pc.cmake initial 2024-06-22 20:45:49 +08:00
libcares.pc.in initial 2024-06-22 20:45:49 +08:00
maketgz initial 2024-06-22 20:45:49 +08:00
msvc_ver.inc initial 2024-06-22 20:45:49 +08:00
nameser.h initial 2024-06-22 20:45:49 +08:00
setup_once.h initial 2024-06-22 20:45:49 +08:00
windows_port.c initial 2024-06-22 20:45:49 +08:00

README.md

c-ares

Build Status Windows Build Status Coverage Status CII Best Practices Releases

This is c-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.

The full source code is available in the 'c-ares' release archives, and in a git repository: http://github.com/c-ares/c-ares. See the INSTALL.md file for build information.

If you find bugs, correct flaws, have questions or have comments in general in regard to c-ares (or by all means the original ares too), get in touch with us on the c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares

c-ares is of course distributed under the same MIT-style license as the original ares.

You'll find all c-ares details and news here: https://c-ares.haxx.se/

Notes for c-ares hackers

  • The distributed ares_build.h file is only intended to be used on systems which can not run the also distributed configure script.

  • The distributed ares_build.h file is generated as a copy of ares_build.h.dist when the c-ares source code distribution archive file is originally created.

  • If you check out from git on a non-configure platform, you must run the appropriate buildconf* script to set up ares_build.h and other local files before being able to compile the library.

  • On systems capable of running the configure script, the configure process will overwrite the distributed ares_build.h file with one that is suitable and specific to the library being configured and built, this new file is generated from the ares_build.h.in template file.

  • If you intend to distribute an already compiled c-ares library you MUST also distribute along with it the generated ares_build.h which has been used to compile it. Otherwise the library will be of no use for the users of the library that you have built. It is your responsibility to provide this file. No one at the c-ares project can know how you have built the library.

  • File ares_build.h includes platform and configuration dependent info, and must not be modified by anyone. Configure script generates it for you.

  • We cannot assume anything else but very basic compiler features being present. While c-ares requires an ANSI C compiler to build, some of the earlier ANSI compilers clearly can't deal with some preprocessor operators.

  • Newlines must remain unix-style for older compilers' sake.

  • Comments must be written in the old-style /* unnested C-fashion */

  • Try to keep line lengths below 80 columns.