diff options
| author | 2009-05-23 16:56:36 -0700 | |
|---|---|---|
| committer | 2009-05-23 16:56:36 -0700 | |
| commit | 7272875df87f1feb2c16259880503812f6acbbf1 (patch) | |
| tree | 347bbff72e8a2024cb2d61c226e288afca613cd5 /swig/iphone.i | |
| 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/iphone.i')
| -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) { | |||
| 121 | return 0; | 121 | return 0; |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | int init_specific_device(int busnumber, int devicenumber) { | 124 | char* serial_number(){ |
| 125 | if (IPHONE_E_SUCCESS == iphone_get_specific_device ( busnumber, devicenumber, &($self->dev))) | 125 | return iphone_get_uuid($self->dev); |
| 126 | return 1; | 126 | } |
| 127 | return 0; | ||
| 128 | } | ||
| 129 | 127 | ||
| 130 | Lockdownd* get_lockdown_client() { | 128 | Lockdownd* get_lockdown_client() { |
| 131 | return my_new_Lockdownd($self); | 129 | return my_new_Lockdownd($self); |
