diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-24 15:38:23 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-19 12:30:05 +0100 |
commit | 6a98d1c0f9e4f6a95d6ecd730ae6fdc70d15c73f (patch) | |
tree | 5f4b6175a96eadfb4684f05a9c8028fa771046c7 /hw/usb.h | |
parent | e382d966d06d2989fc28eec8cfdcc2fd99ebfbb7 (diff) | |
download | qemu-6a98d1c0f9e4f6a95d6ecd730ae6fdc70d15c73f.zip qemu-6a98d1c0f9e4f6a95d6ecd730ae6fdc70d15c73f.tar.gz qemu-6a98d1c0f9e4f6a95d6ecd730ae6fdc70d15c73f.tar.bz2 |
usb: make usb_packet_copy operate on combined packets
Likewise usb_packet_skip.
Also usb_packet_size.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -390,6 +390,7 @@ int usb_packet_map(USBPacket *p, QEMUSGList *sgl); void usb_packet_unmap(USBPacket *p, QEMUSGList *sgl); void usb_packet_copy(USBPacket *p, void *ptr, size_t bytes); void usb_packet_skip(USBPacket *p, size_t bytes); +size_t usb_packet_size(USBPacket *p); void usb_packet_cleanup(USBPacket *p); static inline bool usb_packet_is_inflight(USBPacket *p) |