diff options
Diffstat (limited to 'include')
| -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 { | |||
| 155 | 155 | ||
| 156 | typedef struct { | 156 | typedef struct { |
| 157 | int size; | 157 | int size; |
| 158 | char* data; | 158 | const char* data; |
| 159 | double progress; | 159 | double progress; |
| 160 | irecv_event_type type; | 160 | irecv_event_type type; |
| 161 | } irecv_event_t; | 161 | } irecv_event_t; |
| @@ -246,7 +246,7 @@ int irecv_control_transfer(irecv_client_t client, uint8_t bmRequestType, uint8_t | |||
| 246 | int irecv_bulk_transfer(irecv_client_t client, unsigned char endpoint, unsigned char *data, int length, int *transferred, unsigned int timeout); | 246 | int irecv_bulk_transfer(irecv_client_t client, unsigned char endpoint, unsigned char *data, int length, int *transferred, unsigned int timeout); |
| 247 | 247 | ||
| 248 | irecv_error_t irecv_send_file(irecv_client_t client, const char* filename, int dfuNotifyFinished); | 248 | irecv_error_t irecv_send_file(irecv_client_t client, const char* filename, int dfuNotifyFinished); |
| 249 | irecv_error_t irecv_send_command(irecv_client_t client, char* command); | 249 | irecv_error_t irecv_send_command(irecv_client_t client, const char* command); |
| 250 | irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, unsigned long length, int dfuNotifyFinished); | 250 | irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, unsigned long length, int dfuNotifyFinished); |
| 251 | 251 | ||
| 252 | irecv_error_t irecv_saveenv(irecv_client_t client); | 252 | irecv_error_t irecv_saveenv(irecv_client_t client); |
