aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb20.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-08-13 18:10:52 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-08-13 18:10:52 +0000
commit07b6ce3ba9cd582560d2a716f266cb76176c515e (patch)
tree1953abbbd5e16ff4c9b2baf72bc0aa54e4369b04 /lib/libusb/libusb20.h
parente9cec01683b1f3f70a22f28bf4c0b275fc528f26 (diff)
downloadsrc-07b6ce3ba9cd582560d2a716f266cb76176c515e.tar.gz
src-07b6ce3ba9cd582560d2a716f266cb76176c515e.zip
Add support for streams to LibUSB v2.0.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=239239
Diffstat (limited to 'lib/libusb/libusb20.h')
-rw-r--r--lib/libusb/libusb20.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libusb/libusb20.h b/lib/libusb/libusb20.h
index e4359fcb1549..87e057262067 100644
--- a/lib/libusb/libusb20.h
+++ b/lib/libusb/libusb20.h
@@ -202,6 +202,7 @@ struct libusb20_quirk {
/* USB transfer operations */
int libusb20_tr_close(struct libusb20_transfer *xfer);
int libusb20_tr_open(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no);
+int libusb20_tr_open_stream(struct libusb20_transfer *xfer, uint32_t max_buf_size, uint32_t max_frame_count, uint8_t ep_no, uint16_t stream_id);
struct libusb20_transfer *libusb20_tr_get_pointer(struct libusb20_device *pdev, uint16_t tr_index);
uint16_t libusb20_tr_get_time_complete(struct libusb20_transfer *xfer);
uint32_t libusb20_tr_get_actual_frames(struct libusb20_transfer *xfer);