diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libirecovery.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index 50ec5be..d30dd73 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -71,7 +71,6 @@ struct irecv_client { int interface; int alt_interface; unsigned short mode; - libusb_context* context; libusb_device_handle* handle; irecv_event_cb_t progress_callback; irecv_event_cb_t received_callback; @@ -89,12 +88,12 @@ irecv_error_t irecv_reset(irecv_client_t client); irecv_error_t irecv_close(irecv_client_t client); irecv_error_t irecv_receive(irecv_client_t client); irecv_error_t irecv_send_exploit(irecv_client_t client); -irecv_error_t irecv_set_debug(irecv_client_t client, int level); +void irecv_set_debug_level(int level); +irecv_error_t irecv_execute_script(irecv_client_t client, const char* filename); irecv_error_t irecv_getenv(irecv_client_t client, const char* variable, char** value); irecv_error_t irecv_get_cpid(irecv_client_t client, unsigned int* cpid); irecv_error_t irecv_get_bdid(irecv_client_t client, unsigned int* bdid); irecv_error_t irecv_get_ecid(irecv_client_t client, unsigned long long* ecid); -irecv_error_t irecv_send(irecv_client_t client, unsigned char* command); irecv_error_t irecv_send_file(irecv_client_t client, const char* filename); irecv_error_t irecv_send_command(irecv_client_t client, unsigned char* command); irecv_error_t irecv_set_configuration(irecv_client_t client, int configuration); |