aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_server.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-07-24 13:00:57 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-07-24 13:00:57 -0700
commit3e426718f05343d064fe998578acea6eaa7df622 (patch)
tree0300e954d716a2eaac5bc94a487d25162c991c6b /src/core/lib/iomgr/tcp_server.h
parent2da58cf638805764e0ce4d2dfe484604c0cda343 (diff)
parentda9af3331ce0d64635aa395cb6f0a164c848bea7 (diff)
Merge github.com:grpc/grpc into grand-unified-closures
Diffstat (limited to 'src/core/lib/iomgr/tcp_server.h')
-rw-r--r--src/core/lib/iomgr/tcp_server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/tcp_server.h b/src/core/lib/iomgr/tcp_server.h
index 875a6ca14a..5a25d39a0c 100644
--- a/src/core/lib/iomgr/tcp_server.h
+++ b/src/core/lib/iomgr/tcp_server.h
@@ -105,4 +105,8 @@ void grpc_tcp_server_shutdown_starting_add(grpc_tcp_server *s,
a call (exec_ctx!=NULL) to shutdown_complete. */
void grpc_tcp_server_unref(grpc_exec_ctx *exec_ctx, grpc_tcp_server *s);
+/* Shutdown the fds of listeners. */
+void grpc_tcp_server_shutdown_listeners(grpc_exec_ctx *exec_ctx,
+ grpc_tcp_server *s);
+
#endif /* GRPC_CORE_LIB_IOMGR_TCP_SERVER_H */