summaryrefslogtreecommitdiffstats
path: root/tools/mi4.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-08-30 23:17:04 +0000
committerDave Chapman <dave@dchapman.com>2006-08-30 23:17:04 +0000
commit530f31dbe9fe404d41fd21867c8ed9cec1addd96 (patch)
treeec4caa9ead19f3e0756e4cb02bf11d6f8e4163e2 /tools/mi4.h
parente379225754b326806df1a037a7610e3b2c1a11bc (diff)
downloadrockbox-530f31dbe9fe404d41fd21867c8ed9cec1addd96.tar.gz
rockbox-530f31dbe9fe404d41fd21867c8ed9cec1addd96.tar.bz2
rockbox-530f31dbe9fe404d41fd21867c8ed9cec1addd96.zip
Add generation of .mi4 files - the generic PortalPlayer firmware format used by the iriver H10, Sansa E200 etc. Based on the documentation available at http://daniel.haxx.se/sansa/mi4.html and examination of files produced by mkmi4.sh
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10816 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/mi4.h')
-rw-r--r--tools/mi4.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/mi4.h b/tools/mi4.h
new file mode 100644
index 0000000000..ec3a7342d0
--- /dev/null
+++ b/tools/mi4.h
@@ -0,0 +1,25 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2006 Dave Chapman
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#ifndef _MI4_H
+#define _MI4_H
+
+int mi4_encode(char *iname, char *oname, int version);
+
+#endif