summaryrefslogtreecommitdiff
path: root/firmware/unicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/unicode.h')
-rw-r--r--firmware/unicode.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/firmware/unicode.h b/firmware/unicode.h
new file mode 100644
index 0000000000..dfb4daa2c5
--- /dev/null
+++ b/firmware/unicode.h
@@ -0,0 +1,36 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Alex Gitelman
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#ifndef __UNICODE__
20#define __UNICODE__
21
22unsigned char from_unicode(const unsigned char *uni_char);
23void to_unicode(unsigned char c, unsigned char page, unsigned char *uni_char);
24/* Unicode -> ASCII */
25void install_conversion_table(unsigned char page, unsigned char* conv_table);
26/* ASCII -> Unicode */
27void install_reverse_conversion_table(unsigned char page,
28 unsigned char* rev_conv_table);
29void unicode_init(void);
30
31/* Unicode main init point. Here we must read conversion
32 tables and install them */
33void install_unicode_tables(void);
34
35
36#endif