aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb.3
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-04-12 18:06:30 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-04-12 18:06:30 +0000
commit748205a3703147c4587ea21e78bfdb84037df076 (patch)
tree57895ee208bf599df923ae71036670675175c7eb /lib/libusb/libusb.3
parent0cc457b000ffb0d0d67cfb71278995435996fe94 (diff)
downloadsrc-748205a3703147c4587ea21e78bfdb84037df076.tar.gz
src-748205a3703147c4587ea21e78bfdb84037df076.zip
Add missing LibUSB 1.0 API function.
Reported by: lme @ MFC after: 1 week
Notes
Notes: svn path=/head/; revision=234193
Diffstat (limited to 'lib/libusb/libusb.3')
-rw-r--r--lib/libusb/libusb.38
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3
index 24983351881f..a5bf677a66e2 100644
--- a/lib/libusb/libusb.3
+++ b/lib/libusb/libusb.3
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 25, 2012
+.Dd April 12, 2012
.Dt LIBUSB 3
.Os
.Sh NAME
@@ -118,6 +118,12 @@ LIBUSB_SPEED_UNKNOWN is returned in case of unknown wire speed.
Returns the wMaxPacketSize value on success, LIBUSB_ERROR_NOT_FOUND if the
endpoint does not exist and LIBUSB_ERROR_OTHERS on other failure.
.Pp
+.Ft int
+.Fn libusb_get_max_iso_packet_size "libusb_device *dev" "unsigned char endpoint"
+Returns the packet size multiplied by the packet multiplier on success,
+LIBUSB_ERROR_NOT_FOUND if the endpoint does not exist and
+LIBUSB_ERROR_OTHERS on other failure.
+.Pp
.Ft libusb_device *
.Fn libusb_ref_device "libusb_device *dev"
Increment the reference counter of the device