34 #ifndef GRPC_GRPC_POSIX_H 35 #define GRPC_GRPC_POSIX_H GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server, grpc_completion_queue *cq, int fd)
Add the connected communication channel based on file descriptor 'fd' to the 'server'.
GRPCAPI void grpc_use_signal(int signum)
GRPC Core POSIX library may internally use signals to optimize some work.
GRPCAPI grpc_channel * grpc_insecure_channel_create_from_fd(const char *target, int fd, const grpc_channel_args *args)
Create a client channel to 'target' using file descriptor 'fd'.
An array of arguments that can be passed around.
Definition: grpc_types.h:113
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:54
struct grpc_server grpc_server
A server listens to some port and responds to request calls.
Definition: grpc_types.h:57
struct grpc_completion_queue grpc_completion_queue
Completion Queues enable notification of the completion of asynchronous actions.
Definition: grpc_types.h:48