diff options
author | hselasky <hselasky@FreeBSD.org> | 2010-10-14 20:04:36 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2010-10-14 20:04:36 +0000 |
commit | f4157327e68c3d9fca74e7293fbcd5643046fd20 (patch) | |
tree | fa43319fefc62e8ee751a4bcef8985b2fdf2f589 /lib/libusb/usb.h | |
parent | dd8752941fd5a0473098812a21b50db6dfd30f32 (diff) | |
download | FreeBSD-src-f4157327e68c3d9fca74e7293fbcd5643046fd20.zip FreeBSD-src-f4157327e68c3d9fca74e7293fbcd5643046fd20.tar.gz |
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)
Diffstat (limited to 'lib/libusb/usb.h')
-rw-r--r-- | lib/libusb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |