Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 42ac1e248ed9feb35207e4a433509aca > files > 30

alevt-debug-1.6.1-7mdv2008.1.x86_64.rpm

#ifndef LANG_H
#define LANG_H

#include "misc.h"
#include "vt.h"

extern int latin1;

#define LATIN1 1
#define LATIN2 2
#define KOI8 3

struct enhance
{
    int next_des;	// next expected designation code
    u32 trip[13*16];	// tripplets
};

void lang_init(void);
void conv2latin(u8 *p, int n, int lang);
void conv2koi8(u8 *p);

void init_enhance(struct enhance *eh);
void add_enhance(struct enhance *eh, int dcode, u32 *data);
void enhance(struct enhance *eh, struct vt_page *vtp);

#endif LANG_H