gRPC-haskell/cbits/grpc_haskell.c

14 lines
549 B
C
Raw Normal View History

#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);
}
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);
}