diff options
Diffstat (limited to 'src/core/iomgr/tcp_server.h')
-rw-r--r-- | src/core/iomgr/tcp_server.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/iomgr/tcp_server.h b/src/core/iomgr/tcp_server.h index b2aab234d3..034f10eff7 100644 --- a/src/core/iomgr/tcp_server.h +++ b/src/core/iomgr/tcp_server.h @@ -41,7 +41,7 @@ typedef struct grpc_tcp_server grpc_tcp_server; /* Called for newly connected TCP connections. */ typedef void (*grpc_tcp_server_cb)(void *arg, grpc_endpoint *ep, - grpc_call_list *call_list); + grpc_closure_list *closure_list); /* Create a server, initially not bound to any ports */ grpc_tcp_server *grpc_tcp_server_create(void); @@ -50,7 +50,7 @@ grpc_tcp_server *grpc_tcp_server_create(void); void grpc_tcp_server_start(grpc_tcp_server *server, grpc_pollset **pollsets, size_t pollset_count, grpc_tcp_server_cb on_accept_cb, void *cb_arg, - grpc_call_list *call_list); + grpc_closure_list *closure_list); /* Add a port to the server, returning port number on success, or negative on failure. @@ -74,6 +74,6 @@ int grpc_tcp_server_add_port(grpc_tcp_server *s, const void *addr, int grpc_tcp_server_get_fd(grpc_tcp_server *s, unsigned index); void grpc_tcp_server_destroy(grpc_tcp_server *server, grpc_closure *closure, - grpc_call_list *call_list); + grpc_closure_list *closure_list); #endif /* GRPC_INTERNAL_CORE_IOMGR_TCP_SERVER_H */ |