2015-03-05 19:02:25 +01:00
|
|
|
#include <grpc/grpc.h>
|
|
|
|
|
2016-04-19 19:20:02 +02:00
|
|
|
grpc_event grpc_completion_queue_next_(grpc_completion_queue *cq,
|
|
|
|
gpr_timespec *deadline,
|
|
|
|
void *reserved) {
|
|
|
|
return grpc_completion_queue_next(cq, *deadline, reserved);
|
2015-03-05 19:02:25 +01:00
|
|
|
}
|
|
|
|
|
2016-04-19 19:20:02 +02:00
|
|
|
grpc_event grpc_completion_queue_pluck_(grpc_completion_queue *cq, void *tag,
|
|
|
|
gpr_timespec *deadline,
|
|
|
|
void *reserved) {
|
|
|
|
return grpc_completion_queue_pluck(cq, tag, *deadline, reserved);
|
2015-03-05 19:02:25 +01:00
|
|
|
}
|
2016-04-21 01:02:53 +02:00
|
|
|
|
|
|
|
grpc_call *grpc_channel_create_call_(grpc_channel *channel,
|
|
|
|
grpc_call *parent_call,
|
|
|
|
uint32_t propagation_mask,
|
|
|
|
grpc_completion_queue *completion_queue,
|
|
|
|
const char *method, const char *host,
|
|
|
|
gpr_timespec *deadline, void *reserved) {
|
|
|
|
return grpc_channel_create_call(channel, parent_call, propagation_mask,
|
|
|
|
completion_queue, method, host, *deadline,
|
|
|
|
reserved);
|
|
|
|
}
|