summaryrefslogtreecommitdiff
path: root/firmware/export/bitswap.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-09-26 09:25:59 +0000
committerJens Arnold <amiconn@rockbox.org>2004-09-26 09:25:59 +0000
commit4341211ddc300e7f64e2935f8e19052d1c12c7ed (patch)
tree192f2f2dbb774d8d2d42a928ca0cadbcd8398c4f /firmware/export/bitswap.h
parent7a031eb4d3b35e5fc03a1024fb18c7f96e972341 (diff)
downloadrockbox-4341211ddc300e7f64e2935f8e19052d1c12c7ed.zip
rockbox-4341211ddc300e7f64e2935f8e19052d1c12c7ed.tar.gz
rockbox-4341211ddc300e7f64e2935f8e19052d1c12c7ed.tar.bz2
rockbox-4341211ddc300e7f64e2935f8e19052d1c12c7ed.tar.xz
Added header file for bitswap, and made the fliptable global for re-use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/bitswap.h')
-rw-r--r--firmware/export/bitswap.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/firmware/export/bitswap.h b/firmware/export/bitswap.h
new file mode 100644
index 0000000..92b37c3
--- /dev/null
+++ b/firmware/export/bitswap.h
@@ -0,0 +1,25 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2004 by Jens Arnold
+ *
+ * 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 _BITSWAP_H_
+#define _BITSWAP_H_
+
+extern void bitswap(unsigned char *data, int length);
+extern const unsigned char fliptable[]; /* index is signed char! */
+
+#endif