summaryrefslogtreecommitdiffstats
path: root/isys/lang.h
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-03 21:16:42 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-03 21:16:42 +0000
commit23fbd51a6871420afd6143750f2f65a39231b503 (patch)
tree537ab80ba5630bf900fcd957d73f003c583bf520 /isys/lang.h
parente2d72d1a170698741cf25c42937d2223a3440cab (diff)
downloadanaconda-23fbd51a6871420afd6143750f2f65a39231b503.tar.gz
anaconda-23fbd51a6871420afd6143750f2f65a39231b503.tar.xz
anaconda-23fbd51a6871420afd6143750f2f65a39231b503.zip
move keymap declaration stuff to a common header
Diffstat (limited to 'isys/lang.h')
-rw-r--r--isys/lang.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/isys/lang.h b/isys/lang.h
index b2e377c5d..2aa1d5605 100644
--- a/isys/lang.h
+++ b/isys/lang.h
@@ -3,6 +3,20 @@
#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);