summaryrefslogtreecommitdiffstats
path: root/tools/mi4.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-23 22:45:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-23 22:45:00 +0000
commit34080491fa8e49ad155ff2ae6f6a0715cae3b26f (patch)
tree4c16e61fbfd3150011296431928cc23b35cf5427 /tools/mi4.h
parentc2925814cea31709a73b46b539d27ab0c8793d98 (diff)
downloadrockbox-34080491fa8e49ad155ff2ae6f6a0715cae3b26f.tar.gz
rockbox-34080491fa8e49ad155ff2ae6f6a0715cae3b26f.tar.bz2
rockbox-34080491fa8e49ad155ff2ae6f6a0715cae3b26f.zip
support scrambling for the Sansa R models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12465 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/mi4.h')
-rw-r--r--tools/mi4.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/mi4.h b/tools/mi4.h
index ec3a7342d0..ac55f59579 100644
--- a/tools/mi4.h
+++ b/tools/mi4.h
@@ -20,6 +20,9 @@
#ifndef _MI4_H
#define _MI4_H
-int mi4_encode(char *iname, char *oname, int version);
+#define MI4_MAGIC_DEFAULT 0xec
+#define MI4_MAGIC_R 0xfc
+
+int mi4_encode(char *iname, char *oname, int version, int magic);
#endif