From dc165be9172878144da2fba50139748db32d2986 Mon Sep 17 00:00:00 2001 From: Zoltan Balaton Date: Tue, 13 Jan 2009 22:22:20 -0800 Subject: Correctly handle file modes. --- include/libiphone/libiphone.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index b3e3f95..e4500f0 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -52,10 +52,10 @@ extern "C" { typedef int16_t iphone_error_t; typedef enum { - IPHONE_AFC_FILE_READ = 0x00000002, // seems to be able to read and write files - IPHONE_AFC_FILE_WRITE = 0x00000003, // writes and creates a file, blanks it out, etc. - IPHONE_AFC_FILE_RW = 0x00000005, // seems to do the same as 2. Might even create the file. - IPHONE_AFC_FILE_OP4 = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 + IPHONE_AFC_FILE_READ = 0x00000001, // seems to be able to read and write files + IPHONE_AFC_FILE_WRITE = 0x00000002, // writes and creates a file, blanks it out, etc. + IPHONE_AFC_FILE_RW = 0x00000003, // seems to do the same as 2. Might even create the file. + IPHONE_AFC_FILE_CREAT = 0x00000004, // no idea -- appears to be "write" -- clears file beforehand like 3 IPHONE_AFC_FILE_OP6 = 0x00000006, // no idea yet -- appears to be the same as 5. IPHONE_AFC_FILE_OP1 = 0x00000001, // no idea juuust yet... probably read. IPHONE_AFC_FILE_OP0 = 0x00000000, -- cgit v1.1-32-gdbae From f7fbac7803c5cb5934aab58925babc70af4ab848 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Tue, 27 Jan 2009 21:24:20 -0800 Subject: Moved lockdownd_get_device_uid to be part of the public API. --- include/libiphone/libiphone.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index e4500f0..32d47d3 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -84,6 +84,7 @@ iphone_error_t iphone_free_device ( iphone_device_t device ); //lockdownd related functions +iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); iphone_error_t iphone_lckd_new_client ( iphone_device_t device, iphone_lckd_client_t *client ); iphone_error_t iphone_lckd_free_client( iphone_lckd_client_t client ); -- cgit v1.1-32-gdbae