diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-08-11 19:20:30 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-08-11 19:20:30 +0300 |
commit | a1e9df2aef5a3917728c6fd37280b03020d51123 (patch) | |
tree | f2fe1def098c4c94573d5bdcca8e9407a9ab26ae /src/nxt_socket.h | |
parent | 72475ee11c4254086e5d5648c86498833bf8e939 (diff) | |
download | unit-a1e9df2aef5a3917728c6fd37280b03020d51123.tar.gz unit-a1e9df2aef5a3917728c6fd37280b03020d51123.tar.bz2 |
Port message extended to transfer 2 file descriptors.
Diffstat (limited to 'src/nxt_socket.h')
-rw-r--r-- | src/nxt_socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.h b/src/nxt_socket.h index 718ad398..7403de3d 100644 --- a/src/nxt_socket.h +++ b/src/nxt_socket.h @@ -112,7 +112,7 @@ nxt_uint_t nxt_socket_error_level(nxt_err_t err); NXT_EXPORT nxt_int_t nxt_socketpair_create(nxt_task_t *task, nxt_socket_t *pair); NXT_EXPORT void nxt_socketpair_close(nxt_task_t *task, nxt_socket_t *pair); -NXT_EXPORT ssize_t nxt_socketpair_send(nxt_fd_event_t *ev, nxt_fd_t fd, +NXT_EXPORT ssize_t nxt_socketpair_send(nxt_fd_event_t *ev, nxt_fd_t *fd, nxt_iobuf_t *iob, nxt_uint_t niob); NXT_EXPORT ssize_t nxt_socketpair_recv(nxt_fd_event_t *ev, nxt_fd_t *fd, nxt_iobuf_t *iob, nxt_uint_t niob); |