view libuwrap/open_close.h @ 45:a94bd4002076

fteeprom-prog: implement -d option for interface detach
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 02:48:22 +0000
parents 5160f6717903
children 5cbde3c80c24
line wrap: on
line source

extern usb_dev_handle *usbwrap_open_dev(struct usb_device *dev, int detach);
extern void usbwrap_close_dev(usb_dev_handle *usbh);

extern void
usbwrap_claim_interface(usb_dev_handle *usbh, int ifnum, int detach);
extern void usbwrap_claim_all_ifs(usb_dev_handle *usbh, unsigned nchannels);