view libuwrap/open_close.h @ 97:8d35346f1d46

cp2102 tools: accept "default" as device-selector
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 Sep 2023 03:26:11 +0000
parents 5cbde3c80c24
children
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);