blob: e2bf7e5db39a513c650e1e422f024f31c0e6ed2d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * consolemap.h
3 *
4 * Interface between console.c, selection.c and consolemap.c
5 */
6#define LAT1_MAP 0
7#define GRAF_MAP 1
8#define IBMPC_MAP 2
9#define USER_MAP 3
10
Jan Engelhardt759448f2007-07-15 23:40:40 -070011#include <linux/types.h>
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013struct vc_data;
14
Jan Engelhardt759448f2007-07-15 23:40:40 -070015extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016extern unsigned short *set_translate(int m, struct vc_data *vc);
17extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
Jan Engelhardt759448f2007-07-15 23:40:40 -070018extern u32 conv_8bit_to_uni(unsigned char c);
Samuel Thibault04c71972007-10-16 23:27:04 -070019extern int conv_uni_to_8bit(u32 uni);
Adrian Bunk3cb340e2006-10-03 01:15:06 -070020void console_map_init(void);