summaryrefslogtreecommitdiffstats
path: root/isys/lang.h
blob: 55e5769a1e169062ea7ddd70943b88206e0183e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ISYS_LANG_H
#define ISYS_LANG_H

#include "stubs.h"

/* define ask johnsonm@redhat.com where this came from */
#define KMAP_MAGIC 0x8B39C07F
#define KMAP_NAMELEN 40         /* including '\0' */

struct kmapHeader {
    int magic;
    int numEntries;
};
        
struct kmapInfo {
    int size;
    char name[KMAP_NAMELEN];
};

int loadKeymap(gzFile stream);
int isysLoadFont(void);
int isysLoadKeymap(char * keymap);
int isysSetUnicodeKeymap(void);

#endif