summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-03 16:24:11 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-03 16:28:51 +0100
commit0f463fe671455670efcf4a93e526b2a9082b0afe (patch)
tree6bcb4cd0fd704a133272722b1b922c37b945d479 /libusb/libusbi.h
parente65608994f795f97e4d6adac20329ca08709db2d (diff)
downloadlibusb-0f463fe671455670efcf4a93e526b2a9082b0afe.tar.gz
Add libusb_set_configuration()
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 69e565a..611f62b 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -273,6 +273,8 @@ struct usbi_os_backend {
int (*open)(struct libusb_device_handle *handle);
void (*close)(struct libusb_device_handle *handle);
+ int (*set_configuration)(struct libusb_device_handle *handle, int config);
+
int (*claim_interface)(struct libusb_device_handle *handle, int iface);
int (*release_interface)(struct libusb_device_handle *handle, int iface);