aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Robbie Shade <rjshade@google.com>2015-08-04 19:20:00 -0400
committerGravatar Robbie Shade <rjshade@google.com>2015-08-04 19:20:00 -0400
commit3d4fc4abfe510d51ce477309f98412b8119bcaf6 (patch)
tree282f4946bbf27c59af9d9844428248943792b62b /src/core
parentf2eb48a0d5bb287213d93f01f235c79891b32f9e (diff)
Expose the UDP server FD
Diffstat (limited to 'src/core')
-rw-r--r--src/core/iomgr/udp_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/iomgr/udp_server.h b/src/core/iomgr/udp_server.h
index 7f49068031..fcc4ba6e97 100644
--- a/src/core/iomgr/udp_server.h
+++ b/src/core/iomgr/udp_server.h
@@ -55,6 +55,8 @@ void grpc_udp_server_start(grpc_udp_server *server, grpc_pollset **pollsets,
size_t pollset_count, grpc_udp_server_cb cb,
void *cb_arg);
+int grpc_udp_server_get_fd(grpc_udp_server *s, unsigned index);
+
/* Add a port to the server, returning port number on success, or negative
on failure.