Commit | Line | Data |
---|---|---|
017e2add | 1 | #ifndef U8 |
2 | typedef unsigned char U8; | |
3 | #endif | |
4 | ||
5 | typedef struct encpage_s encpage_t; | |
6 | ||
7 | struct encpage_s | |
8 | { | |
9 | const U8 *seq; | |
10 | encpage_t *next; | |
11 | U8 min; | |
12 | U8 max; | |
13 | U8 dlen; | |
14 | U8 slen; | |
15 | }; | |
16 | ||
17 | typedef struct encode_s encode_t; | |
18 | struct encode_s | |
19 | { | |
20 | const char *name; | |
21 | encpage_t *t_utf8; | |
22 | encpage_t *f_utf8; | |
23 | const U8 *rep; | |
24 | int replen; | |
25 | }; | |
26 |