diff options
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -311,7 +311,9 @@ USBDevice *usb_create(USBBus *bus, const char *name); USBDevice *usb_create_simple(USBBus *bus, const char *name); void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, usb_attachfn attach); +void usb_unregister_port(USBBus *bus, USBPort *port); int usb_device_attach(USBDevice *dev); +int usb_device_detach(USBDevice *dev); int usb_device_delete_addr(int busnr, int addr); static inline USBBus *usb_bus_from_device(USBDevice *d) |