summaryrefslogtreecommitdiffstats
path: root/include/libirecovery.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-30 10:36:56 +0200
committerGravatar Martin Szulecki2013-09-30 10:36:56 +0200
commit263a44b3f5b98a9e5b8c8c6ac46c677930238bb3 (patch)
tree660cc94605803c00d31e7d3f8121697345c67537 /include/libirecovery.h
parenta39d83aca38ad50dc1ccb1756e92d62adf885ca7 (diff)
downloadlibirecovery-263a44b3f5b98a9e5b8c8c6ac46c677930238bb3.tar.gz
libirecovery-263a44b3f5b98a9e5b8c8c6ac46c677930238bb3.tar.bz2
libirecovery: Rename "interface" variable name as it clashes on WIN32
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r--include/libirecovery.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index f4e62c7..daf1761 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -100,7 +100,7 @@ irecv_error_t irecv_trigger_limera1n_exploit(irecv_client_t client);
/* usb helpers */
irecv_error_t irecv_usb_set_configuration(irecv_client_t client, int configuration);
-irecv_error_t irecv_usb_set_interface(irecv_client_t client, int interface, int alt_interface);
+irecv_error_t irecv_usb_set_interface(irecv_client_t client, int usb_interface, int usb_alt_interface);
int irecv_usb_control_transfer(irecv_client_t client, uint8_t bm_request_type, uint8_t b_request, uint16_t w_value, uint16_t w_index, unsigned char *data, uint16_t w_length, unsigned int timeout);
int irecv_usb_bulk_transfer(irecv_client_t client, unsigned char endpoint, unsigned char *data, int length, int *transferred, unsigned int timeout);