summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodio.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/ipodpatcher/ipodio.h')
-rw-r--r--rbutil/ipodpatcher/ipodio.h5
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);
91int ipod_reopen_rw(struct ipod_t* ipod); 94int ipod_reopen_rw(struct ipod_t* ipod);
92int ipod_close(struct ipod_t* ipod); 95int ipod_close(struct ipod_t* ipod);
93int ipod_seek(struct ipod_t* ipod, unsigned long pos); 96int ipod_seek(struct ipod_t* ipod, unsigned long pos);
97int ipod_scsi_inquiry(struct ipod_t* ipod, int page_code,
98 unsigned char* buf, int bufsize);
94ssize_t ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes); 99ssize_t ipod_read(struct ipod_t* ipod, unsigned char* buf, int nbytes);
95ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes); 100ssize_t ipod_write(struct ipod_t* ipod, unsigned char* buf, int nbytes);
96int ipod_alloc_buffer(unsigned char** sectorbuf, int bufsize); 101int ipod_alloc_buffer(unsigned char** sectorbuf, int bufsize);