aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface/server.h
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-09-29 11:16:55 -0700
committerGravatar GitHub <noreply@github.com>2016-09-29 11:16:55 -0700
commitef49a5d2171b77e3ac4ca069b8d2a16c27248f61 (patch)
tree5e732356b1dae72eec72c209189daba45d7eaa4b /src/core/lib/surface/server.h
parent66306c2ae80fb4298c8dbf8de619719bc2bfe925 (diff)
parent765e6542b943efbcf689ade40fc96d36d87494cf (diff)
Merge pull request #7833 from sreecha/fix_channel_from_fd_api
Remove completion queue parameter from `grpc_server_add_insecure_channel_from_fd` API
Diffstat (limited to 'src/core/lib/surface/server.h')
-rw-r--r--src/core/lib/surface/server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/surface/server.h b/src/core/lib/surface/server.h
index fb6e4d60c5..551a40a4ff 100644
--- a/src/core/lib/surface/server.h
+++ b/src/core/lib/surface/server.h
@@ -60,4 +60,9 @@ const grpc_channel_args *grpc_server_get_channel_args(grpc_server *server);
int grpc_server_has_open_connections(grpc_server *server);
+/* Do not call this before grpc_server_start. Returns the pollsets and the
+ * number of pollsets via 'pollsets' and 'pollset_count'. */
+void grpc_server_get_pollsets(grpc_server *server, grpc_pollset ***pollsets,
+ size_t *pollset_count);
+
#endif /* GRPC_CORE_LIB_SURFACE_SERVER_H */