summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-07-01 00:45:50 +0200
committerGravatar Nikias Bassen2025-07-01 00:45:50 +0200
commitc752e8780b043c8822be2417cc5596b8f2ad9c0b (patch)
treec57bae87f86c43d68a74447bad319433f66cb89a /src/dfu.h
parentc17f9d6b17daa6121ec1ef0284d701cd3d1387b2 (diff)
downloadidevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.gz
idevicerestore-c752e8780b043c8822be2417cc5596b8f2ad9c0b.tar.bz2
Update codebase to use (const) void* and size_t where applicable
Diffstat (limited to 'src/dfu.h')
-rw-r--r--src/dfu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dfu.h b/src/dfu.h
index 4590dbd..7b1d092 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -40,8 +40,8 @@ struct dfu_client_t {
int dfu_client_new(struct idevicerestore_client_t* client);
void dfu_client_free(struct idevicerestore_client_t* client);
irecv_device_t dfu_get_irecv_device(struct idevicerestore_client_t* client);
-int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size);
-int dfu_send_buffer_with_options(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size, unsigned int irecv_options);
+int dfu_send_buffer(struct idevicerestore_client_t* client, const void* buffer, size_t size);
+int dfu_send_buffer_with_options(struct idevicerestore_client_t* client, const void* buffer, size_t size, unsigned int irecv_options);
int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component);
int dfu_get_bdid(struct idevicerestore_client_t* client, unsigned int* bdid);
int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid);