path: root/tools/ipodpatcher/ipodio.h
diff options
authorDave Chapman <>2007-02-08 18:05:50 +0000
committerDave Chapman <>2007-02-08 18:05:50 +0000
commitbdc27ff20c3666989cd8ba83fc9a43c25382ced4 (patch)
treefb66ef4d48bc2c2a97ac68fe78c8bb2901f296e0 /tools/ipodpatcher/ipodio.h
parentdeb83637512488b42a848ced66d039fa8df0f428 (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/ipodpatcher/ipodio.h')
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;
+ unsigned char* bootloader;
+ int bootloader_len;
void print_error(char* msg);