aboutsummaryrefslogtreecommitdiff
path: root/hw/iov.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/iov.h')
-rw-r--r--hw/iov.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/iov.h b/hw/iov.h
index 5e3e54123d..60a85470bd 100644
--- a/hw/iov.h
+++ b/hw/iov.h
@@ -14,3 +14,6 @@
size_t iov_from_buf(struct iovec *iov, unsigned int iovcnt,
const void *buf, size_t size);
+size_t iov_to_buf(const struct iovec *iov, const unsigned int iovcnt,
+ void *buf, size_t offset, size_t size);
+size_t iov_size(const struct iovec *iov, const unsigned int iovcnt);