aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_server.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-03 16:27:00 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-03 16:27:00 -0700
commitc027e77d6408c7ae9b1889f64e2629fa66872f3d (patch)
treea5c4ad14fe26fa4de665de77016ad7e69a44304c /src/core/lib/iomgr/tcp_server.h
parent7c6ba9bae47bdeb6f532b457d9848e7dc94c8e14 (diff)
Progress
Diffstat (limited to 'src/core/lib/iomgr/tcp_server.h')
-rw-r--r--src/core/lib/iomgr/tcp_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_server.h b/src/core/lib/iomgr/tcp_server.h
index 99b9f29729..75c582d18f 100644
--- a/src/core/lib/iomgr/tcp_server.h
+++ b/src/core/lib/iomgr/tcp_server.h
@@ -73,8 +73,8 @@ void grpc_tcp_server_start(grpc_exec_ctx *exec_ctx, grpc_tcp_server *server,
but not dualstack sockets. */
/* TODO(ctiller): deprecate this, and make grpc_tcp_server_add_ports to handle
all of the multiple socket port matching logic in one place */
-int grpc_tcp_server_add_port(grpc_tcp_server *s, const void *addr,
- size_t addr_len);
+grpc_error *grpc_tcp_server_add_port(grpc_tcp_server *s, const void *addr,
+ size_t addr_len, int *out_port);
/* Number of fds at the given port_index, or 0 if port_index is out of
bounds. */