diff options
Diffstat (limited to 'rbutil/ipodpatcher/ipodio.h')
-rw-r--r-- | rbutil/ipodpatcher/ipodio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/ipodio.h b/rbutil/ipodpatcher/ipodio.h index dbd3d5e1ff..e0692ca6d9 100644 --- a/rbutil/ipodpatcher/ipodio.h +++ b/rbutil/ipodpatcher/ipodio.h | |||
@@ -80,6 +80,9 @@ struct ipod_t { | |||
80 | char* modelstr; | 80 | char* modelstr; |
81 | char* targetname; | 81 | char* targetname; |
82 | int macpod; | 82 | int macpod; |
83 | char* xmlinfo; /* The XML Device Information (if available) */ | ||
84 | int xmlinfo_len; | ||
85 | int ramsize; /* The amount of RAM in the ipod (if available) */ | ||
83 | #ifdef WITH_BOOTOBJS | 86 | #ifdef WITH_BOOTOBJS |
84 | unsigned char* bootloader; | 87 | unsigned char* bootloader; |
85 | int bootloader_len; | 88 | int bootloader_len; |
@@ -91,6 +94,8 @@ int ipod_open(struct ipod_t* ipod, int silent); | |||
91 | int ipod_reopen_rw(struct ipod_t* ipod); | 94 | int ipod_reopen_rw(struct ipod_t* ipod); |
92 | int ipod_close(struct ipod_t* ipod); | 95 | int ipod_close(struct ipod_t* ipod); |
93 | int ipod_seek(struct ipod_t* ipod, unsigned long pos); | 96 | int ipod_seek(struct ipod_t* ipod, unsigned long pos); |
97 | int ipod_scsi_inquiry(struct ipod_t* ipod, int page_code, | ||
98 | unsigned char* buf, int bufsize); | ||
94 | ssize_t ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes); | 99 | ssize_t ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes); |
95 | ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes); | 100 | ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes); |
96 | int ipod_alloc_buffer(unsigned char** sectorbuf, int bufsize); | 101 | int ipod_alloc_buffer(unsigned char** sectorbuf, int bufsize); |