summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/ostrace.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-12 13:49:37 +0200
committerGravatar Nikias Bassen2025-06-12 13:49:37 +0200
commit483d040ab46a5aa11795453a5c1b69d160b31180 (patch)
treedbca6918cfd48eb783b0be3b03340724bdda202f /include/libimobiledevice/ostrace.h
parent3bf294f149594b61aaa6dace57628c924af2f501 (diff)
downloadlibimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.gz
libimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.bz2
ostrace: Use void*/const void* and size_t
Diffstat (limited to 'include/libimobiledevice/ostrace.h')
-rw-r--r--include/libimobiledevice/ostrace.h4
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 */