diff options
author | Adam Michalik <xyzzyz@google.com> | 2016-05-25 11:35:57 -0700 |
---|---|---|
committer | Adam Michalik <xyzzyz@google.com> | 2016-06-07 15:09:19 -0700 |
commit | da5d85d660495f68f03756590606ca59513c8b54 (patch) | |
tree | 3dff76ca5d35cf1c1d25b8c10cb0bdf06cf2ef59 /include | |
parent | bf10c82bf805a6d9b87813650e581113c4c7b3ff (diff) |
Add completion queue argument which is necessary after merge with master
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc_posix.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/grpc/grpc_posix.h b/include/grpc/grpc_posix.h index b72ea5208d..509e51e2c4 100644 --- a/include/grpc/grpc_posix.h +++ b/include/grpc/grpc_posix.h @@ -60,8 +60,11 @@ 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. */ -GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server, int fd); + connected socket. The 'cq' is a completion queue that will be getting events + from that descriptor. */ +GRPCAPI void grpc_server_add_insecure_channel_from_fd(grpc_server *server, + grpc_completion_queue *cq, + int fd); #endif // GPR_POSIX_SOCKET |