diff options
author | Benjamin BOURGEAIS | 2021-05-06 18:01:11 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-05-26 03:40:03 +0200 |
commit | 47934949e0015165a4562b08e824adb3f664c0ea (patch) | |
tree | c4f49d5495eb2621a7cf18cd112a4c02907c9c59 /include | |
parent | 11324701c89a2ef2ace1686fe25eeec9ad8adac8 (diff) | |
download | libirecovery-47934949e0015165a4562b08e824adb3f664c0ea.tar.gz libirecovery-47934949e0015165a4562b08e824adb3f664c0ea.tar.bz2 |
Add new irecv_send_command_breq to allow choosing the b_request usb param when sending commands
Diffstat (limited to 'include')
-rw-r--r-- | include/libirecovery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index 224a6a7..a65c6fd 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -148,6 +148,7 @@ irecv_error_t irecv_event_unsubscribe(irecv_client_t client, irecv_event_type ty /* I/O */ 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_command_breq(irecv_client_t client, const char* command, uint8_t b_request); 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); |