summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodpatcher.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-02-10 20:09:23 +0000
committerDave Chapman <dave@dchapman.com>2007-02-10 20:09:23 +0000
commita6d68bd7409b3f54de8e02ec37e369167f55a50c (patch)
treec7475f07d5122ec09e38009bd1977c0274baf14b /rbutil/ipodpatcher/ipodpatcher.h
parent955afed1b74793a3f06f98f3c259ec98f26a0b82 (diff)
downloadrockbox-a6d68bd7409b3f54de8e02ec37e369167f55a50c.tar.gz
rockbox-a6d68bd7409b3f54de8e02ec37e369167f55a50c.tar.bz2
rockbox-a6d68bd7409b3f54de8e02ec37e369167f55a50c.zip
Changes to aid incorporation into rbutil, based on part of FS #6643 from Dominik Wenger. Move display_partinfo() function into main.c (where it belongs) and export get_parttype() function from ipodpatcher.c. Also add a targetname variable to struct ipod_t to enable bootloader URLs to be constructed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12264 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.h')
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.h b/rbutil/ipodpatcher/ipodpatcher.h
index c533f4c2dc..4c1eee58af 100644
--- a/rbutil/ipodpatcher/ipodpatcher.h
+++ b/rbutil/ipodpatcher/ipodpatcher.h
@@ -33,7 +33,7 @@ extern unsigned char* sectorbuf;
#define FILETYPE_INTERNAL 2
#endif
-void display_partinfo(struct ipod_t* ipod);
+char* get_parttype(int pt);
int read_partinfo(struct ipod_t* ipod, int silent);
int read_partition(struct ipod_t* ipod, int outfile);
int write_partition(struct ipod_t* ipod, int infile);