aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-22 09:22:20 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-22 09:22:20 -0700
commit32ed2fd117622a9b2974537be595b8356cb49744 (patch)
treee31bf6c99df271c174e5b9a6b0f7badbbca6ad6a /src/core/surface/call.h
parentc899319fd854e7d9476ab3c304c059a99e549a21 (diff)
parentd1408e71636f7ec74839a9bcff0429fb7e2caeb0 (diff)
Merge branch 'master' into compression-interop
Diffstat (limited to 'src/core/surface/call.h')
-rw-r--r--src/core/surface/call.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/surface/call.h b/src/core/surface/call.h
index 493a07c7a6..d7202f4f1d 100644
--- a/src/core/surface/call.h
+++ b/src/core/surface/call.h
@@ -138,6 +138,10 @@ void grpc_server_log_request_call(char *file, int line,
grpc_completion_queue *cq_for_notification,
void *tag);
+void grpc_server_log_shutdown(char *file, int line, gpr_log_severity severity,
+ grpc_server *server, grpc_completion_queue *cq,
+ void *tag);
+
/* Set a context pointer.
No thread safety guarantees are made wrt this value. */
void grpc_call_context_set(grpc_call *call, grpc_context_index elem,
@@ -155,6 +159,9 @@ void *grpc_call_context_get(grpc_call *call, grpc_context_index elem);
grpc_server_log_request_call(sev, server, call, details, initial_metadata, \
cq_bound_to_call, cq_for_notifications, tag)
+#define GRPC_SERVER_LOG_SHUTDOWN(sev, server, cq, tag) \
+ if (grpc_trace_batch) grpc_server_log_shutdown(sev, server, cq, tag)
+
gpr_uint8 grpc_call_is_client(grpc_call *call);
grpc_compression_algorithm grpc_call_get_compression_algorithm(