aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/socket_windows.h
diff options
context:
space:
mode:
authorGravatar Alex Polcyn <apolcyn@google.com>2018-06-16 04:08:55 +0000
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-07-25 13:21:43 -0700
commit1b1d5e52e7aa0ecdd455ad084aa7930ea89bbfd1 (patch)
treeb268e4cc4cd38ebd7554ab8020ed196bba1ba7af /src/core/lib/iomgr/socket_windows.h
parent3fd42677776ac03b2be4ebaf27e8fb0d4c589ac0 (diff)
Get c-ares to compile and do address sorting on windows
Diffstat (limited to 'src/core/lib/iomgr/socket_windows.h')
-rw-r--r--src/core/lib/iomgr/socket_windows.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/socket_windows.h b/src/core/lib/iomgr/socket_windows.h
index 7bd01eded5..b09b9da562 100644
--- a/src/core/lib/iomgr/socket_windows.h
+++ b/src/core/lib/iomgr/socket_windows.h
@@ -108,6 +108,10 @@ void grpc_socket_notify_on_read(grpc_winsocket* winsocket,
void grpc_socket_become_ready(grpc_winsocket* winsocket,
grpc_winsocket_callback_info* ci);
+/* Returns true if this system can create AF_INET6 sockets bound to ::1.
+ The value is probed once, and cached for the life of the process. */
+int grpc_ipv6_loopback_available(void);
+
#endif
#endif /* GRPC_CORE_LIB_IOMGR_SOCKET_WINDOWS_H */