diff options
author | 2025-06-12 13:49:37 +0200 | |
---|---|---|
committer | 2025-06-12 13:49:37 +0200 | |
commit | 483d040ab46a5aa11795453a5c1b69d160b31180 (patch) | |
tree | dbca6918cfd48eb783b0be3b03340724bdda202f /include | |
parent | 3bf294f149594b61aaa6dace57628c924af2f501 (diff) | |
download | libimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.gz libimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.bz2 |
ostrace: Use void*/const void* and size_t
Diffstat (limited to 'include')
-rw-r--r-- | include/libimobiledevice/ostrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice/ostrace.h b/include/libimobiledevice/ostrace.h index fb5a88f..f083ba7 100644 --- a/include/libimobiledevice/ostrace.h +++ b/include/libimobiledevice/ostrace.h @@ -86,10 +86,10 @@ struct ostrace_packet_header_t { #pragma pack(pop) /** Receives unparsed ostrace data from the ostrace service */ -typedef void (*ostrace_activity_cb_t)(const unsigned char* buf, unsigned int len, void *user_data); +typedef void (*ostrace_activity_cb_t)(const void* buf, size_t len, void *user_data); /** Receives archive data from the ostrace service */ -typedef int (*ostrace_archive_write_cb_t)(const unsigned char* buf, unsigned int len, void *user_data); +typedef int (*ostrace_archive_write_cb_t)(const void* buf, size_t len, void *user_data); /* Interface */ |