diff options
author | Jonathan Beck | 2008-08-21 21:34:59 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-21 21:34:59 +0200 |
commit | 6b706ced7bea4223cce3b83f25268130226a9756 (patch) | |
tree | 3ffbeaafaa6f120ab138709df5bd0c4b998d005f /src/main.c | |
parent | bb496ff039679ad44d2a9dbfb4224b2fcd54c7e2 (diff) | |
download | libimobiledevice-6b706ced7bea4223cce3b83f25268130226a9756.tar.gz libimobiledevice-6b706ced7bea4223cce3b83f25268130226a9756.tar.bz2 |
add get_device_uid function
Conflicts:
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,6 +57,12 @@ int main(int argc, char *argv[]) { return -1; } + char *uid = NULL; + if (lockdownd_get_device_uid(control, &uid)) { + printf("DeviceUniqueID : %s\n", uid); + free(uid); + } + port = lockdownd_start_service(control, "com.apple.afc"); if (port) { |