diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-02-11 16:05:52 -0500 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-02-11 22:23:48 -0500 |
commit | cc192f0eb3017a9851aea802e694588bbb356ecf (patch) | |
tree | 75968a268da91408cc30d5ea3b75812f3666ee81 /deps/cares/include | |
parent | d78e6796e01254039634a710448bfc1ecd11bb47 (diff) | |
download | android-node-v8-cc192f0eb3017a9851aea802e694588bbb356ecf.tar.gz android-node-v8-cc192f0eb3017a9851aea802e694588bbb356ecf.tar.bz2 android-node-v8-cc192f0eb3017a9851aea802e694588bbb356ecf.zip |
deps: sync with upstream c-ares/c-ares@4ef6817
PR-URL: https://github.com/nodejs/node/pull/5199
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/cares/include')
-rw-r--r-- | deps/cares/include/ares.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/cares/include/ares.h b/deps/cares/include/ares.h index fcbcecfc49..cd94d4fc62 100644 --- a/deps/cares/include/ares.h +++ b/deps/cares/include/ares.h @@ -294,6 +294,10 @@ typedef int (*ares_sock_create_callback)(ares_socket_t socket_fd, int type, void *data); +typedef int (*ares_sock_config_callback)(ares_socket_t socket_fd, + int type, + void *data); + CARES_EXTERN int ares_library_init(int flags); CARES_EXTERN int ares_library_init_mem(int flags, @@ -344,6 +348,10 @@ CARES_EXTERN void ares_set_socket_callback(ares_channel channel, ares_sock_create_callback callback, void *user_data); +CARES_EXTERN void ares_set_socket_configure_callback(ares_channel channel, + ares_sock_config_callback callback, + void *user_data); + CARES_EXTERN int ares_set_sortlist(ares_channel channel, const char *sortstr); |