diff options
author | Anthony Liguori | 2011-08-05 00:10:36 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-08-05 00:10:36 +0200 |
commit | 5df0a2a5ba54114afb2bf75cab9fb184020a46a8 (patch) | |
tree | 40565e20dad22056e9d33b09c46d7f009b9acde3 /iov.h | |
parent | Merge remote-tracking branch 'kwolf/for-anthony' into staging (diff) | |
parent | bluetooth: kill dummy usb device, use hid code directly. (diff) | |
download | qemu-5df0a2a5ba54114afb2bf75cab9fb184020a46a8.tar.gz qemu-5df0a2a5ba54114afb2bf75cab9fb184020a46a8.tar.xz qemu-5df0a2a5ba54114afb2bf75cab9fb184020a46a8.zip |
Merge remote-tracking branch 'kraxel/usb.22' into staging
Diffstat (limited to 'iov.h')
-rw-r--r-- | iov.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,3 +17,7 @@ size_t iov_from_buf(struct iovec *iov, unsigned int iov_cnt, size_t iov_to_buf(const struct iovec *iov, const unsigned int iov_cnt, void *buf, size_t iov_off, size_t size); size_t iov_size(const struct iovec *iov, const unsigned int iov_cnt); +size_t iov_clear(const struct iovec *iov, const unsigned int iov_cnt, + size_t iov_off, size_t size); +void iov_hexdump(const struct iovec *iov, const unsigned int iov_cnt, + FILE *fp, const char *prefix, size_t limit); |