aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-23 04:26:24 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-23 04:26:24 -0700
commitbaa2aa644226b00ad9cb493660356f4473acd212 (patch)
tree13ffebed603924ac83e0c77df5133b855f826de0 /src/core/surface/call.h
parent8ec09f6530938c6126a6579ce85ee07dbf71d785 (diff)
parentd435caa13eb3710a4d3d17825b0efe3a06336ab7 (diff)
Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding
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 5736e97b59..49fb4de47a 100644
--- a/src/core/surface/call.h
+++ b/src/core/surface/call.h
@@ -134,6 +134,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,
@@ -151,6 +155,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);
/** Returns a bitset for the encodings (compression algorithms) supported by \a