]> git.proxmox.com Git - qemu.git/commit
export iov_send_recv() and use it in iov_send() and iov_recv()
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 14 Mar 2012 06:56:04 +0000 (10:56 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Jun 2012 19:12:11 +0000 (23:12 +0400)
commite3e87df4c94319b15017f958e22761aba03c452a
treed75e0b9b024808a4015c434925ca2cc918e8df26
parent3e80bf9351f8fec9085c46df6da075efd5e71003
export iov_send_recv() and use it in iov_send() and iov_recv()

Rename do_sendv_recvv() to iov_send_recv(), change its last arg
(do_send) from int to bool, export it in iov.h, and made the two
callers of it (iov_send() and iov_recv()) to be trivial #defines
just adding 5th arg.

iov_send_recv() will be used later.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
cutils.c
iov.h