diff options
author | 2017-01-31 15:50:05 -0800 | |
---|---|---|
committer | 2017-01-31 15:50:05 -0800 | |
commit | 6687cb829767c3ab77536b8943343885f8eda131 (patch) | |
tree | bdb20055687a6001e9378603dbd32a7e81288f2c /src/core/ext/client_channel/connector.h | |
parent | 6b446b601e239eba900b333089634f2546272d16 (diff) | |
parent | 7b005f7fddb0ce158c55bb804fe5811a096f1ae0 (diff) |
Merge branch 'master' into poll-cv-disable
Diffstat (limited to 'src/core/ext/client_channel/connector.h')
-rw-r--r-- | src/core/ext/client_channel/connector.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ext/client_channel/connector.h b/src/core/ext/client_channel/connector.h index 395f89b3b2..9bff41f003 100644 --- a/src/core/ext/client_channel/connector.h +++ b/src/core/ext/client_channel/connector.h @@ -68,7 +68,8 @@ struct grpc_connector_vtable { void (*ref)(grpc_connector *connector); void (*unref)(grpc_exec_ctx *exec_ctx, grpc_connector *connector); /** Implementation of grpc_connector_shutdown */ - void (*shutdown)(grpc_exec_ctx *exec_ctx, grpc_connector *connector); + void (*shutdown)(grpc_exec_ctx *exec_ctx, grpc_connector *connector, + grpc_error *why); /** Implementation of grpc_connector_connect */ void (*connect)(grpc_exec_ctx *exec_ctx, grpc_connector *connector, const grpc_connect_in_args *in_args, @@ -83,7 +84,7 @@ void grpc_connector_connect(grpc_exec_ctx *exec_ctx, grpc_connector *connector, grpc_connect_out_args *out_args, grpc_closure *notify); /** Cancel any pending connection */ -void grpc_connector_shutdown(grpc_exec_ctx *exec_ctx, - grpc_connector *connector); +void grpc_connector_shutdown(grpc_exec_ctx *exec_ctx, grpc_connector *connector, + grpc_error *why); #endif /* GRPC_CORE_EXT_CLIENT_CHANNEL_CONNECTOR_H */ |