diff options
author | Peter Lieven <pl@kamp.de> | 2014-05-18 00:58:17 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-05-19 12:20:19 +0200 |
commit | 43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8 (patch) | |
tree | 1b0f9ac51422ab76e48afe513e92c9c5ee9c0a4e /include/qemu-common.h | |
parent | d66e5cee002c471b78139228a4e7012736b375f9 (diff) | |
download | qemu-43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8.zip qemu-43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8.tar.gz qemu-43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8.tar.bz2 |
util: add qemu_iovec_is_zero
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu-common.h')
-rw-r--r-- | include/qemu-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h index 3f3fd60..66ceceb 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -318,6 +318,7 @@ void qemu_iovec_concat(QEMUIOVector *dst, void qemu_iovec_concat_iov(QEMUIOVector *dst, struct iovec *src_iov, unsigned int src_cnt, size_t soffset, size_t sbytes); +bool qemu_iovec_is_zero(QEMUIOVector *qiov); void qemu_iovec_destroy(QEMUIOVector *qiov); void qemu_iovec_reset(QEMUIOVector *qiov); size_t qemu_iovec_to_buf(QEMUIOVector *qiov, size_t offset, |