blob: aaacb44374083e3ed55c2a30b4b491d30c0f09a8 (
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
26
27
|
#ifndef _LANG_H_
#define _LANG_H_
#define _(x) translateString (x)
#define N_(foo) (foo)
int chooseLanguage(char ** lang, int flags);
int chooseKeyboard(char ** keymap, char ** kbdtypep, int flags);
char * translateString(char * str);
void setLanguage (char * key);
/* 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];
};
#endif /* _LANG_H_ */
|