|
|
|
@ -44,7 +44,7 @@ |
|
|
|
|
extern "C" { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* Completion Channels enable notification of the completion of asynchronous
|
|
|
|
|
/* Completion Queues enable notification of the completion of asynchronous
|
|
|
|
|
actions. */ |
|
|
|
|
typedef struct grpc_completion_queue grpc_completion_queue; |
|
|
|
|
|
|
|
|
@ -156,7 +156,8 @@ typedef enum grpc_op_error { |
|
|
|
|
struct grpc_byte_buffer; |
|
|
|
|
typedef struct grpc_byte_buffer grpc_byte_buffer; |
|
|
|
|
|
|
|
|
|
/* Sample helpers to obtain byte buffers (these will certainly move place */ |
|
|
|
|
/* Sample helpers to obtain byte buffers (these will certainly move
|
|
|
|
|
someplace else) */ |
|
|
|
|
grpc_byte_buffer *grpc_byte_buffer_create(gpr_slice *slices, size_t nslices); |
|
|
|
|
grpc_byte_buffer *grpc_byte_buffer_copy(grpc_byte_buffer *bb); |
|
|
|
|
size_t grpc_byte_buffer_length(grpc_byte_buffer *bb); |
|
|
|
|