diff options
| author | 2009-01-29 18:02:04 +0100 | |
|---|---|---|
| committer | 2009-01-29 18:02:04 +0100 | |
| commit | c1b2004461aaf2912af749620e7504345bf409ba (patch) | |
| tree | 2c238a2d8c1598265a07a2fd52beec0939d08a73 /include/libiphone | |
| parent | 0934d1ac021dfb7907e4b580b38aa4a938cf2180 (diff) | |
| parent | f7fbac7803c5cb5934aab58925babc70af4ab848 (diff) | |
| download | libimobiledevice-c1b2004461aaf2912af749620e7504345bf409ba.tar.gz libimobiledevice-c1b2004461aaf2912af749620e7504345bf409ba.tar.bz2 | |
Merge branch 'master' into contact_sync
Conflicts:
src/Makefile.am
src/iphone.c
src/lockdown.c
src/lockdown.h
src/utils.c
Diffstat (limited to 'include/libiphone')
| -rw-r--r-- | include/libiphone/libiphone.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 6197923..9823bed 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -53,10 +53,10 @@ extern "C" { | |||
| 53 | typedef int16_t iphone_error_t; | 53 | typedef int16_t iphone_error_t; |
| 54 | 54 | ||
| 55 | typedef enum { | 55 | typedef enum { |
| 56 | IPHONE_AFC_FILE_READ = 0x00000002, // seems to be able to read and write files | 56 | IPHONE_AFC_FILE_READ = 0x00000001, // seems to be able to read and write files |
| 57 | IPHONE_AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc. | 57 | IPHONE_AFC_FILE_WRITE = 0x00000002, // writes and creates a file, blanks it out, etc. |
| 58 | IPHONE_AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file. | 58 | IPHONE_AFC_FILE_RW = 0x00000003, // seems to do the same as 2. Might even create the file. |
| 59 | IPHONE_AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 | 59 | IPHONE_AFC_FILE_CREAT = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 |
| 60 | IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. | 60 | IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. |
| 61 | IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. | 61 | IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. |
| 62 | IPHONE_AFC_FILE_OP0 = 0x00000000, | 62 | IPHONE_AFC_FILE_OP0 = 0x00000000, |
| @@ -97,6 +97,7 @@ iphone_error_t iphone_free_device ( iphone_device_t device ); | |||
| 97 | 97 | ||
| 98 | 98 | ||
| 99 | //lockdownd related functions | 99 | //lockdownd related functions |
| 100 | iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); | ||
| 100 | iphone_error_t iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *client ); | 101 | iphone_error_t iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *client ); |
| 101 | iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client ); | 102 | iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client ); |
| 102 | 103 | ||
