summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.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/idevicerestore.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/idevicerestore.h')
-rw-r--r--src/idevicerestore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h
index 1e01672..9d6f5af 100644
--- a/src/idevicerestore.h
+++ b/src/idevicerestore.h
@@ -112,8 +112,8 @@ void build_identity_print_information(plist_t build_identity);
int build_identity_has_component(plist_t build_identity, const char* component);
int build_identity_get_component_path(plist_t build_identity, const char* component, char** path);
int ipsw_extract_filesystem(ipsw_archive_t ipsw, plist_t build_identity, char** filesystem);
-int extract_component(ipsw_archive_t ipsw, const char* path, unsigned char** component_data, unsigned int* component_size);
-int personalize_component(struct idevicerestore_client_t* client, const char *component, const unsigned char* component_data, unsigned int component_size, plist_t tss_response, unsigned char** personalized_component, unsigned int* personalized_component_size);
+int extract_component(ipsw_archive_t ipsw, const char* path, void** component_data, size_t* component_size);
+int personalize_component(struct idevicerestore_client_t* client, const char *component, const void* component_data, size_t component_size, plist_t tss_response, void** personalized_component, size_t* personalized_component_size);
int get_preboard_manifest(struct idevicerestore_client_t* client, plist_t build_identity, plist_t* manifest);
const char* get_component_name(const char* filename);