summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb.3
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-07-16 08:29:12 +0000
committerhselasky <hselasky@FreeBSD.org>2011-07-16 08:29:12 +0000
commitcbcc560b1ef4e3268956232dcc43c9f45bbb9e42 (patch)
treed29e1041d5757acef0079a9d43dae3ebbc16d7ec /lib/libusb/libusb.3
parentb3e331350eb3f9280f1c520a93d51993df0a659a (diff)
downloadFreeBSD-src-cbcc560b1ef4e3268956232dcc43c9f45bbb9e42.zip
FreeBSD-src-cbcc560b1ef4e3268956232dcc43c9f45bbb9e42.tar.gz
- Add two missing functions to the LibUSB v0.1 API.
- Clamp the string length to 255 bytes when getting the interface description. - Clamp data request length to 65535 bytes when doing control requests. MFC after: 3 days
Diffstat (limited to 'lib/libusb/libusb.3')
-rw-r--r--lib/libusb/libusb.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3
index e7e3115..33d807d 100644
--- a/lib/libusb/libusb.3
+++ b/lib/libusb/libusb.3
@@ -542,6 +542,8 @@ The library is also compliant with LibUSB version 0.1.12.
.Fn usb_device
.Fn usb_get_busses
.Fn usb_check_connected
+.Fn usb_get_driver_np
+.Fn usb_detach_kernel_driver_np
.
.Sh SEE ALSO
.Xr libusb20 3 ,
OpenPOWER on IntegriCloud