diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-01 19:43:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-08 11:20:59 +0100 |
commit | fe486d7b9f580a17d23dd57582087c7d28cb738d (patch) | |
tree | a7e931addabc7b97450771fd6030f886cda39354 /lib/async_req/async_sock.h | |
parent | 46bcb10b5abb21758cf234764b64220ede1b7ab5 (diff) | |
download | samba-fe486d7b9f580a17d23dd57582087c7d28cb738d.tar.gz samba-fe486d7b9f580a17d23dd57582087c7d28cb738d.tar.bz2 samba-fe486d7b9f580a17d23dd57582087c7d28cb738d.zip |
Add "queue" to writev_send
Unless higher levels queue themselves somehow, writev will *always* be queued.
So the queueing should be done at the right level.
Diffstat (limited to 'lib/async_req/async_sock.h')
-rw-r--r-- | lib/async_req/async_sock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/async_req/async_sock.h b/lib/async_req/async_sock.h index e001709d27..c5d9400eb6 100644 --- a/lib/async_req/async_sock.h +++ b/lib/async_req/async_sock.h @@ -43,7 +43,8 @@ struct tevent_req *async_connect_send(TALLOC_CTX *mem_ctx, int async_connect_recv(struct tevent_req *req, int *perrno); struct tevent_req *writev_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, - int fd, struct iovec *iov, int count); + struct tevent_queue *queue, int fd, + struct iovec *iov, int count); ssize_t writev_recv(struct tevent_req *req, int *perrno); struct tevent_req *read_packet_send(TALLOC_CTX *mem_ctx, |