diff options
author | David Garcia Quintas <dgq@google.com> | 2015-05-07 17:20:24 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-05-07 17:20:24 -0700 |
commit | 4251aad3eb7bbc9220c8b4a8064da82416409ab3 (patch) | |
tree | cfbf2db24e0f40ab79fb535923873130b944c4b3 /src/csharp/ext | |
parent | d4f10c03209e731cf5d1793a23d3823ea2b05493 (diff) | |
parent | 442918f225797e28e1bfee023046af4f441a50ae (diff) |
Merge branch 'master' of github.com:grpc/grpc into standalone_benchmarks
Diffstat (limited to 'src/csharp/ext')
-rw-r--r-- | src/csharp/ext/grpc_csharp_ext.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/csharp/ext/grpc_csharp_ext.c b/src/csharp/ext/grpc_csharp_ext.c index fb8b75798d..a8cc1b29a4 100644 --- a/src/csharp/ext/grpc_csharp_ext.c +++ b/src/csharp/ext/grpc_csharp_ext.c @@ -277,6 +277,12 @@ grpcsharp_batch_context_server_rpc_new_method( return ctx->server_rpc_new.call_details.method; } +GPR_EXPORT gpr_int32 GPR_CALLTYPE +grpcsharp_batch_context_recv_close_on_server_cancelled( + const grpcsharp_batch_context *ctx) { + return (gpr_int32) ctx->recv_close_on_server_cancelled; +} + /* Init & shutdown */ GPR_EXPORT void GPR_CALLTYPE grpcsharp_init(void) { grpc_init(); } |