summaryrefslogtreecommitdiffstats
path: root/tools/ipodpatcher/ipodio.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-02-08 18:05:50 +0000
committerDave Chapman <dave@dchapman.com>2007-02-08 18:05:50 +0000
commitbdc27ff20c3666989cd8ba83fc9a43c25382ced4 (patch)
treefb66ef4d48bc2c2a97ac68fe78c8bb2901f296e0 /tools/ipodpatcher/ipodio.h
parentdeb83637512488b42a848ced66d039fa8df0f428 (diff)
downloadrockbox-bdc27ff20c3666989cd8ba83fc9a43c25382ced4.tar.gz
rockbox-bdc27ff20c3666989cd8ba83fc9a43c25382ced4.zip
Work-in-progress (i.e. not well tested) changes: Add the option to build ipodpatcher with the Rockbox bootloaders embedded (see the comments in the Makefile for build instructions). This gives a new --install option which will search for an ipod, and if exactly one is found, will install the embedded bootloader. Even easier is the new interactive mode - running ipodpatcher with no command-line options (e.g. double-clicking on ipodpatcher.exe in Windows) will cause ipodpatcher to search for an ipod, and if exactly one is found, ask the user if he/she wishes to install the bootloader. Thanks to Bryan Childs for sample code to deal with prompts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12235 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/ipodpatcher/ipodio.h')
-rw-r--r--tools/ipodpatcher/ipodio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ipodpatcher/ipodio.h b/tools/ipodpatcher/ipodio.h
index 9624849562..d0641faa2b 100644
--- a/tools/ipodpatcher/ipodio.h
+++ b/tools/ipodpatcher/ipodio.h
@@ -71,6 +71,10 @@ struct ipod_t {
char* modelname;
char* modelstr;
int macpod;
+#ifdef WITH_BOOTOBJS
+ unsigned char* bootloader;
+ int bootloader_len;
+#endif
};
void print_error(char* msg);