diff options
author | Matt Colyer | 2009-05-23 16:56:36 -0700 |
---|---|---|
committer | Matt Colyer | 2009-05-23 16:56:36 -0700 |
commit | 7272875df87f1feb2c16259880503812f6acbbf1 (patch) | |
tree | 347bbff72e8a2024cb2d61c226e288afca613cd5 /swig | |
parent | 435f5feb4b5c501db52743a170908687d3ba6f60 (diff) | |
download | libimobiledevice-7272875df87f1feb2c16259880503812f6acbbf1.tar.gz libimobiledevice-7272875df87f1feb2c16259880503812f6acbbf1.tar.bz2 |
Add a method to support fetching the UUID of the phone.
Diffstat (limited to 'swig')
-rw-r--r-- | swig/iphone.i | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/swig/iphone.i b/swig/iphone.i index 4e604e0..7a003d4 100644 --- a/swig/iphone.i +++ b/swig/iphone.i @@ -121,11 +121,9 @@ MobileSync* my_new_MobileSync(Lockdownd* lckd) { return 0; } - int init_specific_device(int busnumber, int devicenumber) { - if (IPHONE_E_SUCCESS == iphone_get_specific_device ( busnumber, devicenumber, &($self->dev))) - return 1; - return 0; - } + char* serial_number(){ + return iphone_get_uuid($self->dev); + } Lockdownd* get_lockdown_client() { return my_new_Lockdownd($self); |