summaryrefslogtreecommitdiffstats
path: root/isys/lang.h
blob: 2aa1d560582372ca1b90ed176cbdfd8c122e036b (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
#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(char * fontFile);
int isysLoadKeymap(char * keymap);

#endif