diff options
| author | 2008-08-31 11:25:22 -0700 | |
|---|---|---|
| committer | 2008-11-24 22:49:07 +0100 | |
| commit | f4c4b783c8dbe2fe8e7e6f6b5f19f0d44b489c9a (patch) | |
| tree | 9ef8c57fe298a4ae9e0a443d7103e6126c869020 /src/AFC.h | |
| parent | 8c3a01e11bb9c74e2a1bb7da143cb35469f29fba (diff) | |
| download | libimobiledevice-f4c4b783c8dbe2fe8e7e6f6b5f19f0d44b489c9a.tar.gz libimobiledevice-f4c4b783c8dbe2fe8e7e6f6b5f19f0d44b489c9a.tar.bz2 | |
Added binary-plist support (tweaked slightly to move stuff around)
Signed-off-by: Matt Colyer <matt@colyer.name>
fix makefile to take correct main function into account
Diffstat (limited to 'src/AFC.h')
| -rw-r--r-- | src/AFC.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -29,12 +29,12 @@ | |||
| 29 | #include <glib.h> | 29 | #include <glib.h> |
| 30 | 30 | ||
| 31 | typedef struct { | 31 | typedef struct { |
| 32 | uint32 header1, header2; | 32 | uint32_t header1, header2; |
| 33 | uint32 entire_length, unknown1, this_length, unknown2, packet_num, unknown3, operation, unknown4; | 33 | uint32_t entire_length, unknown1, this_length, unknown2, packet_num, unknown3, operation, unknown4; |
| 34 | } AFCPacket; | 34 | } AFCPacket; |
| 35 | 35 | ||
| 36 | typedef struct { | 36 | typedef struct { |
| 37 | uint32 filehandle, unknown1, size, unknown2; | 37 | uint32_t filehandle, unknown1, size, unknown2; |
| 38 | } AFCFilePacket; | 38 | } AFCFilePacket; |
| 39 | 39 | ||
| 40 | typedef struct __AFCToken { | 40 | typedef struct __AFCToken { |
| @@ -51,7 +51,7 @@ struct iphone_afc_client_int { | |||
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | struct iphone_afc_file_int { | 53 | struct iphone_afc_file_int { |
| 54 | uint32 filehandle, blocks, size, type; | 54 | uint32_t filehandle, blocks, size, type; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | 57 | ||
| @@ -74,4 +74,4 @@ enum { | |||
| 74 | AFC_WRITE = 0x00000010 | 74 | AFC_WRITE = 0x00000010 |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | uint32 iphone_afc_get_file_handle(iphone_afc_file_t file); | 77 | uint32_t iphone_afc_get_file_handle(iphone_afc_file_t file); |
