Intial commit
[profile/ivi/w3m.git] / libwc / priv.h
1
2 #ifndef _WC_PRIV_H
3 #define _WC_PRIV_H
4
5 #define WC_F_SPECIAL    0x00
6 #define WC_F_CP437      0x01
7 #define WC_F_CP737      0x02
8 #define WC_F_CP775      0x03
9 #define WC_F_CP850      0x04
10 #define WC_F_CP852      0x05
11 #define WC_F_CP855      0x06
12 #define WC_F_CP856      0x07
13 #define WC_F_CP857      0x08
14 #define WC_F_CP860      0x09
15 #define WC_F_CP861      0x0A
16 #define WC_F_CP862      0x0B
17 #define WC_F_CP863      0x0C
18 #define WC_F_CP864      0x0D
19 #define WC_F_CP865      0x0E
20 #define WC_F_CP866      0x0F
21 #define WC_F_CP869      0x10
22 #define WC_F_CP874      0x11
23 #define WC_F_CP1006     0x12
24 #define WC_F_CP1250     0x13
25 #define WC_F_CP1251     0x14
26 #define WC_F_CP1252     0x15
27 #define WC_F_CP1253     0x16
28 #define WC_F_CP1254     0x17
29 #define WC_F_CP1255     0x18
30 #define WC_F_CP1256     0x19
31 #define WC_F_CP1257     0x1A
32 #define WC_F_CP1258_1   0x1B
33 #define WC_F_CP1258_2   0x1C
34 #define WC_F_TCVN_5712_1        0x1D
35 #define WC_F_TCVN_5712_2        0x1E
36 #define WC_F_TCVN_5712_3        0x1F
37 #define WC_F_VISCII_11_1        0x20
38 #define WC_F_VISCII_11_2        0x21
39 #define WC_F_VPS_1              0x22
40 #define WC_F_VPS_2              0x23
41 #define WC_F_KOI8_R             0x24
42 #define WC_F_KOI8_U             0x25
43 #define WC_F_NEXTSTEP           0x26
44 #define WC_F_GBK_80             0x27
45 #define WC_F_RAW                0x28
46
47 #define WC_F_SPECIAL_W          0x00
48 #define WC_F_BIG5               0x01
49 #define WC_F_BIG5_1             0x02
50 #define WC_F_BIG5_2             0x03
51 #define WC_F_CNS_11643_8        0x04
52 #define WC_F_CNS_11643_9        0x05
53 #define WC_F_CNS_11643_10       0x06
54 #define WC_F_CNS_11643_11       0x07
55 #define WC_F_CNS_11643_12       0x08
56 #define WC_F_CNS_11643_13       0x09
57 #define WC_F_CNS_11643_14       0x0A
58 #define WC_F_CNS_11643_15       0x0B
59 #define WC_F_CNS_11643_16       0x0C
60 #define WC_F_CNS_11643_X        0x0D
61 #define WC_F_GB_12345           0x0E
62 #define WC_F_JOHAB              0x0F
63 #define WC_F_JOHAB_1            0x10
64 #define WC_F_JOHAB_2            0x11
65 #define WC_F_JOHAB_3            0x12
66 #define WC_F_SJIS_EXT           0x13
67 #define WC_F_SJIS_EXT_1         0x14
68 #define WC_F_SJIS_EXT_2         0x15
69 #define WC_F_GBK                0x16
70 #define WC_F_GBK_1              0x17
71 #define WC_F_GBK_2              0x18
72 #define WC_F_GBK_EXT            0x19
73 #define WC_F_GBK_EXT_1          0x1A
74 #define WC_F_GBK_EXT_2          0x1B
75 #define WC_F_UHC                0x1C
76 #define WC_F_UHC_1              0x1D
77 #define WC_F_UHC_2              0x1E
78 #define WC_F_HKSCS              0x1F
79 #define WC_F_HKSCS_1            0x20
80 #define WC_F_HKSCS_2            0x21
81
82 #define WC_F_UCS2               0x00
83 #define WC_F_UCS4               0x00
84 #define WC_F_UCS_TAG            0x01
85 #define WC_F_GB18030            0x02
86
87 #define WC_F_C1                 0x01
88
89 extern Str  wc_conv_from_priv1(Str is, wc_ces ces);
90 extern Str  wc_char_conv_from_priv1(wc_uchar c, wc_status *st);
91 extern Str  wc_conv_from_ascii(Str is, wc_ces ces);
92 extern void wc_push_to_raw(Str os, wc_wchar_t cc, wc_status *st);
93
94 #endif