summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-14 00:58:30 +0000
committerPete Batard <pbatard@gmail.com>2010-01-14 00:58:30 +0000
commitaa118f2c0215b910eda914392a5585c434a92288 (patch)
tree789d87c82cf8002d5559143733b00996b5ad879c /libusb/libusbi.h
parented8c467fcab8861d67d926a1b5bf33c84b74f247 (diff)
downloadlibusb-aa118f2c0215b910eda914392a5585c434a92288.tar.gz
svn r4: revert back to using interface for variable names as in master branch
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r--libusb/libusbi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h
index 1d5c9e4..6b9bf1c 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -581,7 +581,7 @@ struct usbi_os_backend {
* was opened
* - another LIBUSB_ERROR code on other failure
*/
- int (*claim_interface)(struct libusb_device_handle *handle, int interface_number);
+ int (*claim_interface)(struct libusb_device_handle *handle, int iface);
/* Release a previously claimed interface.
*
@@ -598,7 +598,7 @@ struct usbi_os_backend {
* was opened
* - another LIBUSB_ERROR code on other failure
*/
- int (*release_interface)(struct libusb_device_handle *handle, int interface_number);
+ int (*release_interface)(struct libusb_device_handle *handle, int iface);
/* Set the alternate setting for an interface.
*
@@ -615,7 +615,7 @@ struct usbi_os_backend {
* - another LIBUSB_ERROR code on other failure
*/
int (*set_interface_altsetting)(struct libusb_device_handle *handle,
- int interface_number, int altsetting);
+ int iface, int altsetting);
/* Clear a halt/stall condition on an endpoint.
*
@@ -662,7 +662,7 @@ struct usbi_os_backend {
* - another LIBUSB_ERROR code on other failure
*/
int (*kernel_driver_active)(struct libusb_device_handle *handle,
- int interface_number);
+ int interface);
/* Detach a kernel driver from an interface. Optional.
*
@@ -678,7 +678,7 @@ struct usbi_os_backend {
* - another LIBUSB_ERROR code on other failure
*/
int (*detach_kernel_driver)(struct libusb_device_handle *handle,
- int interface_number);
+ int interface);
/* Attach a kernel driver to an interface. Optional.
*
@@ -695,7 +695,7 @@ struct usbi_os_backend {
* - another LIBUSB_ERROR code on other failure
*/
int (*attach_kernel_driver)(struct libusb_device_handle *handle,
- int interface_number);
+ int interface);
/* Destroy a device. Optional.
*