summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-04 13:46:41 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-04 13:46:41 +0100
commitc01f744ce07bbeccbe353e956479f0cc5a811a6f (patch)
treeac277becb6c434756403419d89b4fbf5efd63d50 /libusb/libusbi.h
parent5878daa85e3364bb3885190425d4f9deaa2d8c36 (diff)
downloadlibusb-c01f744ce07bbeccbe353e956479f0cc5a811a6f.tar.gz
Add functionality to clear endpoint halt conditions
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r--libusb/libusbi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h
index 611f62b..c912632 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -280,6 +280,8 @@ struct usbi_os_backend {
int (*set_interface_altsetting)(struct libusb_device_handle *handle,
int iface, int altsetting);
+ int (*clear_halt)(struct libusb_device_handle *handle,
+ unsigned char endpoint);
void (*destroy_device)(struct libusb_device *dev);