diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-08-28 09:43:18 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-11 07:42:59 +0200 |
commit | c13a9e61366cc3e28299d8faeb65e65c6e5964cf (patch) | |
tree | 81cb8ecad6a9c5ec9cf963fb37966a41c8150d33 /hw/usb.h | |
parent | cc40997489260f405aecccd30d4626ceee862502 (diff) |
usb-core: Add a usb_ep_find_packet_by_id() helper function
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -377,6 +377,8 @@ void usb_ep_set_max_packet_size(USBDevice *dev, int pid, int ep, uint16_t raw); int usb_ep_get_max_packet_size(USBDevice *dev, int pid, int ep); void usb_ep_set_pipeline(USBDevice *dev, int pid, int ep, bool enabled); +USBPacket *usb_ep_find_packet_by_id(USBDevice *dev, int pid, int ep, + uint64_t id); void usb_attach(USBPort *port); void usb_detach(USBPort *port); |