diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libirecovery.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index 152634f..595c7cb 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -101,7 +101,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); -int irecv_usb_control_transfer(irecv_client_t client, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout); +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); /* events */ @@ -110,9 +110,9 @@ irecv_error_t irecv_event_subscribe(irecv_client_t client, irecv_event_type type irecv_error_t irecv_event_unsubscribe(irecv_client_t client, irecv_event_type type); /* I/O */ -irecv_error_t irecv_send_file(irecv_client_t client, const char* filename, int dfuNotifyFinished); +irecv_error_t irecv_send_file(irecv_client_t client, const char* filename, int dfu_notify_finished); irecv_error_t irecv_send_command(irecv_client_t client, const char* command); -irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, unsigned long length, int dfuNotifyFinished); +irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, unsigned long length, int dfu_notify_finished); irecv_error_t irecv_recv_buffer(irecv_client_t client, char* buffer, unsigned long length); /* commands */ |