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/libusb.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/libusb.h')
-rw-r--r-- | lib/libusb/libusb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h index b8e2322..9458316 100644 --- a/lib/libusb/libusb.h +++ b/lib/libusb/libusb.h @@ -316,6 +316,7 @@ int libusb_set_configuration(libusb_device_handle * devh, int configuration); int libusb_claim_interface(libusb_device_handle * devh, int interface_number); int libusb_release_interface(libusb_device_handle * devh, int interface_number); int libusb_reset_device(libusb_device_handle * devh); +int libusb_check_connected(libusb_device_handle * devh); int libusb_kernel_driver_active(libusb_device_handle * devh, int interface); int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface); int libusb_attach_kernel_driver(libusb_device_handle * devh, int interface); |