Releasing debian version 4.06+dfsg-2.
[syslinux-debian/hramrach.git] / core / include / codepage.h
bloba24d90f591ae80285b3ac126b7bedbe43b209946
1 /*
2 * Codepage data structure as generated by cptable.pl
3 */
4 #ifndef CODEPAGE_H
5 #define CODEPAGE_H
7 #include <stdint.h>
9 #define CODEPAGE_MAGIC UINT64_C(0x51d21eb158a8b3d4)
11 struct codepage {
12 uint64_t magic;
13 uint32_t reserved[6];
15 uint8_t upper[256]; /* Codepage upper case table */
16 uint8_t lower[256]; /* Codepage lower case table */
19 * The primary Unicode match is the same case, i.e. A -> A,
20 * the secondary Unicode match is the opposite case, i.e. A -> a.
22 uint16_t uni[2][256]; /* Primary and alternate Unicode matches */
25 extern const struct codepage codepage;
27 #endif /* CODEPAGE_H */