aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-27 15:41:44 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-27 15:42:35 -0800
commit62ac155a684194b28aa4b263bc11d1149fe9aedd (patch)
tree2d2158ec127a61d62abb67772549c7a103de6991 /src/core/surface/call.h
parentee2d702555e01109839ac95f6592f10fb51e1415 (diff)
Initial fixes: we now send a request
Diffstat (limited to 'src/core/surface/call.h')
-rw-r--r--src/core/surface/call.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/core/surface/call.h b/src/core/surface/call.h
index 2da40607c5..10f8dbe6c8 100644
--- a/src/core/surface/call.h
+++ b/src/core/surface/call.h
@@ -38,8 +38,9 @@
#include "src/core/channel/metadata_buffer.h"
#include <grpc/grpc.h>
-typedef void (*grpc_ioreq_completion_func)(grpc_call *call, grpc_op_error status,
- void *user_data);
+typedef void (*grpc_ioreq_completion_func)(grpc_call *call,
+ grpc_op_error status,
+ void *user_data);
grpc_call *grpc_call_create(grpc_channel *channel,
const void *server_transport_data);
@@ -51,14 +52,15 @@ void grpc_call_internal_unref(grpc_call *call);
the completion queue/surface layer */
void grpc_call_recv_metadata(grpc_call_element *surface_element,
grpc_mdelem *md);
-void grpc_call_recv_message(
- grpc_call_element *surface_element, grpc_byte_buffer *message);
+void grpc_call_recv_message(grpc_call_element *surface_element,
+ grpc_byte_buffer *message);
void grpc_call_read_closed(grpc_call_element *surface_element);
void grpc_call_stream_closed(grpc_call_element *surface_element);
void grpc_call_execute_op(grpc_call *call, grpc_call_op *op);
-grpc_call_error grpc_call_start_ioreq_and_call_back(grpc_call *call, const grpc_ioreq *reqs,
- size_t nreqs, grpc_ioreq_completion_func on_complete, void *user_data);
+grpc_call_error grpc_call_start_ioreq_and_call_back(
+ grpc_call *call, const grpc_ioreq *reqs, size_t nreqs,
+ grpc_ioreq_completion_func on_complete, void *user_data);
/* Called when it's known that the initial batch of metadata is complete on the
client side (must not be called on the server) */
@@ -73,7 +75,4 @@ grpc_call_stack *grpc_call_get_call_stack(grpc_call *call);
/* Given the top call_element, get the call object. */
grpc_call *grpc_call_from_top_element(grpc_call_element *surface_element);
-void grpc_call_add_mdelem(grpc_call *call, grpc_mdelem *mdelem,
- gpr_uint32 flags);
-
#endif /* __GRPC_INTERNAL_SURFACE_CALL_H__ */