aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-04 14:53:51 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-04 14:53:51 -0700
commit64be9f7a30a4bcb9ce3647f11ba9e06994aa3bb7 (patch)
tree42a4af35a2fe0f3a79573ff37130fd6b74c55cb9 /src/core/surface/call.h
parentc112d146a2dcc5e90d5f5cca10f55f212f9492c6 (diff)
C Core API cleanup.
Simplify grpc_event into something that can be non-heap allocated. Deprecate grpc_event_finish. Remove grpc_op_error - use an int as this is more idiomatic C style.
Diffstat (limited to 'src/core/surface/call.h')
-rw-r--r--src/core/surface/call.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/surface/call.h b/src/core/surface/call.h
index 2d4c7f61e3..30d9c868a3 100644
--- a/src/core/surface/call.h
+++ b/src/core/surface/call.h
@@ -80,8 +80,7 @@ typedef struct {
grpc_ioreq_data data;
} grpc_ioreq;
-typedef void (*grpc_ioreq_completion_func)(grpc_call *call,
- grpc_op_error status,
+typedef void (*grpc_ioreq_completion_func)(grpc_call *call, int success,
void *user_data);
grpc_call *grpc_call_create(grpc_channel *channel, grpc_completion_queue *cq,