diff options
author | Nikias Bassen | 2012-11-28 22:51:22 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-11-28 22:51:22 +0100 |
commit | fe3ec2e29f4bf25aa47506ed60ea7310387ff166 (patch) | |
tree | 156888a00a76462942249ecaab677c3f0eff96f9 /include/libirecovery.h | |
parent | 364ce205e3428fbc6ccb73c6e94437c083d73406 (diff) | |
download | libirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.gz libirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.bz2 |
irecv_send_command/irecv_event_t use const char* instead of char*
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r-- | include/libirecovery.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index a44dcc3..e7cd30d 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -155,7 +155,7 @@ typedef enum { typedef struct { int size; - char* data; + const char* data; double progress; irecv_event_type type; } irecv_event_t; @@ -246,7 +246,7 @@ int irecv_control_transfer(irecv_client_t client, uint8_t bmRequestType, uint8_t int irecv_bulk_transfer(irecv_client_t client, unsigned char endpoint, unsigned char *data, int length, int *transferred, unsigned int timeout); irecv_error_t irecv_send_file(irecv_client_t client, const char* filename, int dfuNotifyFinished); -irecv_error_t irecv_send_command(irecv_client_t client, char* command); +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_saveenv(irecv_client_t client); |