From f4157327e68c3d9fca74e7293fbcd5643046fd20 Mon Sep 17 00:00:00 2001 From: hselasky Date: Thu, 14 Oct 2010 20:04:36 +0000 Subject: LibUSB (new API): - Add a new API function to check the connected status of the USB handle in the LibUSB v1.0 and LibUSB v0.1 interfaces. Approved by: thompsa (mentor) --- lib/libusb/usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libusb/usb.h') diff --git a/lib/libusb/usb.h b/lib/libusb/usb.h index a29f48d..8ee68f2 100644 --- a/lib/libusb/usb.h +++ b/lib/libusb/usb.h @@ -291,6 +291,7 @@ int usb_set_altinterface(usb_dev_handle * dev, int alternate); int usb_resetep(usb_dev_handle * dev, unsigned int ep); int usb_clear_halt(usb_dev_handle * dev, unsigned int ep); int usb_reset(usb_dev_handle * dev); +int usb_check_connected(usb_dev_handle * dev); const char *usb_strerror(void); void usb_init(void); void usb_set_debug(int level); -- cgit v1.1