00001 #ifndef LANG_H 00002 #define LANG_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 #include "vt.h" 00009 00010 extern int latin1; 00011 extern const unsigned char lang_chars[][16]; /* from vbilut.cpp */ 00012 00013 struct enhance 00014 { 00015 int next_des; // next expected designation code 00016 unsigned int trip[13*16]; // tripplets 00017 }; 00018 00019 void lang_init(void); 00020 void conv2latin(unsigned char *p, int n, int lang); 00021 00022 void init_enhance(struct enhance *eh); 00023 void add_enhance(struct enhance *eh, int dcode, unsigned int *data); 00024 void enhance(struct enhance *eh, struct vt_page *vtp); 00025 00026 #ifdef __cplusplus 00027 } 00028 #endif 00029 00030 #endif // LANG_H 00031