aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_server.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-04 10:58:06 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-04 10:58:06 -0700
commit0b5857f600d92269dce34622a48ce37578f8a3d2 (patch)
treea937b4c17378a887acd48be882a5985a55fea8df /src/core/lib/iomgr/tcp_server.h
parentffb8401985759fb48f93274e85c594c7b0415fe9 (diff)
Progress
Diffstat (limited to 'src/core/lib/iomgr/tcp_server.h')
-rw-r--r--src/core/lib/iomgr/tcp_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_server.h b/src/core/lib/iomgr/tcp_server.h
index 75c582d18f..924121f0c7 100644
--- a/src/core/lib/iomgr/tcp_server.h
+++ b/src/core/lib/iomgr/tcp_server.h
@@ -57,7 +57,8 @@ typedef void (*grpc_tcp_server_cb)(grpc_exec_ctx *exec_ctx, void *arg,
/* Create a server, initially not bound to any ports. The caller owns one ref.
If shutdown_complete is not NULL, it will be used by
grpc_tcp_server_unref() when the ref count reaches zero. */
-grpc_tcp_server *grpc_tcp_server_create(grpc_closure *shutdown_complete);
+grpc_error *grpc_tcp_server_create(grpc_closure *shutdown_complete,
+ grpc_tcp_server **server);
/* Start listening to bound ports */
void grpc_tcp_server_start(grpc_exec_ctx *exec_ctx, grpc_tcp_server *server,