diff options
| author | 2024-03-16 15:17:57 +0100 | |
|---|---|---|
| committer | 2024-03-16 15:17:57 +0100 | |
| commit | 7b1faa06a5650dbaeae3c55c4f5d0cc41bce383b (patch) | |
| tree | dbd89becf8be629569db84481bc96c0ce8597cae /include | |
| parent | 73b6fd183872096f20e6d1007429546a317a7cb1 (diff) | |
| download | libimobiledevice-7b1faa06a5650dbaeae3c55c4f5d0cc41bce383b.tar.gz libimobiledevice-7b1faa06a5650dbaeae3c55c4f5d0cc41bce383b.tar.bz2 | |
Add libimobiledevice_version() function to interface
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
| 400 | */ | 400 | */ |
| 401 | LIBIMOBILEDEVICE_API idevice_error_t idevice_get_udid(idevice_t device, char **udid); | 401 | LIBIMOBILEDEVICE_API idevice_error_t idevice_get_udid(idevice_t device, char **udid); |
| 402 | 402 | ||
| 403 | /** | ||
| 404 | * Returns a static string of the libimobiledevice version. | ||
| 405 | * | ||
| 406 | * @return The libimobiledevice version as static ascii string | ||
| 407 | */ | ||
| 408 | LIBIMOBILEDEVICE_API const char* libimobiledevice_version(); | ||
| 409 | |||
| 403 | #ifdef __cplusplus | 410 | #ifdef __cplusplus |
| 404 | } | 411 | } |
| 405 | #endif | 412 | #endif |
