aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc_posix.h
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-08-22 16:08:50 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-08-22 16:08:50 -0700
commitcc357bf74e27888a354f361ad3b66e4e2b565dbc (patch)
treec65d30daaa57b48dadd76543e49934833513911c /include/grpc/grpc_posix.h
parentdaf46996529a983013892344803539e9ae888f24 (diff)
Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API
Diffstat (limited to 'include/grpc/grpc_posix.h')
-rw-r--r--include/grpc/grpc_posix.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/grpc/grpc_posix.h b/include/grpc/grpc_posix.h
index 5e89ae3b1e..b426c329ef 100644
--- a/include/grpc/grpc_posix.h
+++ b/include/grpc/grpc_posix.h
@@ -57,11 +57,14 @@ GRPCAPI grpc_channel *grpc_insecure_channel_create_from_fd(
/** Add the connected communication channel based on file descriptor 'fd' to the
'server'. The 'fd' must be an open file descriptor corresponding to a
- connected socket. The 'cq' is a completion queue that will be getting events
- from that descriptor. */
+ connected socket. Events from the file descriptor may come on any of the
+ server completion queues (i.e completion queues registered via the
+ grpc_server_register_completion_queue API).
+
+ The 'reserved' pointer MUST be NULL.
+ */
GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server,
- grpc_completion_queue *cq,
- int fd);
+ void *reserved, int fd);
/** GRPC Core POSIX library may internally use signals to optimize some work.
The library uses (SIGRTMIN + 2) signal by default. Use this API to instruct