From 7b1faa06a5650dbaeae3c55c4f5d0cc41bce383b Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 16 Mar 2024 15:17:57 +0100 Subject: Add libimobiledevice_version() function to interface --- include/libimobiledevice/libimobiledevice.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/libimobiledevice/libimobiledevice.h') diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index 66b4145..a9d270b 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h @@ -400,6 +400,13 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_get_handle(idevice_t device, uint32 */ LIBIMOBILEDEVICE_API idevice_error_t idevice_get_udid(idevice_t device, char **udid); +/** + * Returns a static string of the libimobiledevice version. + * + * @return The libimobiledevice version as static ascii string + */ +LIBIMOBILEDEVICE_API const char* libimobiledevice_version(); + #ifdef __cplusplus } #endif -- cgit v1.1-32-gdbae