Debian Codegraph @

third_party/rust/encoding_c/include/encoding_rs_statics.h

raw
1 // Copyright Mozilla Foundation. See the COPYRIGHT
2 // file at the top-level directory of this distribution.
3 //
4 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
7 // option. This file may not be copied, modified, or distributed
8 // except according to those terms.
9
10 // THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
11 // Instead, please regenerate using generate-encoding-data.py
12
13 // This file is not meant to be included directly. Instead, encoding_rs.h
14 // includes this file.
15
16 #ifndef encoding_rs_statics_h_
17 #define encoding_rs_statics_h_
18
19 #ifndef ENCODING_RS_ENCODING
20 #define ENCODING_RS_ENCODING Encoding
21 #ifndef __cplusplus
22 typedef struct Encoding_ Encoding;
23 #endif
24 #endif
25
26 #ifndef ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR
27 #define ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ENCODING_RS_ENCODING*
28 #endif
29
30 #ifndef ENCODING_RS_ENCODER
31 #define ENCODING_RS_ENCODER Encoder
32 #ifndef __cplusplus
33 typedef struct Encoder_ Encoder;
34 #endif
35 #endif
36
37 #ifndef ENCODING_RS_DECODER
38 #define ENCODING_RS_DECODER Decoder
39 #ifndef __cplusplus
40 typedef struct Decoder_ Decoder;
41 #endif
42 #endif
43
44 #define INPUT_EMPTY 0
45
46 #define OUTPUT_FULL 0xFFFFFFFF
47
48 // x-mac-cyrillic
49 #define ENCODING_NAME_MAX_LENGTH 14
50
51 /// The Big5 encoding.
52 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const BIG5_ENCODING;
53
54 /// The EUC-JP encoding.
55 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const EUC_JP_ENCODING;
56
57 /// The EUC-KR encoding.
58 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const EUC_KR_ENCODING;
59
60 /// The GBK encoding.
61 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const GBK_ENCODING;
62
63 /// The IBM866 encoding.
64 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const IBM866_ENCODING;
65
66 /// The ISO-2022-JP encoding.
67 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_2022_JP_ENCODING;
68
69 /// The ISO-8859-10 encoding.
70 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_10_ENCODING;
71
72 /// The ISO-8859-13 encoding.
73 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_13_ENCODING;
74
75 /// The ISO-8859-14 encoding.
76 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_14_ENCODING;
77
78 /// The ISO-8859-15 encoding.
79 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_15_ENCODING;
80
81 /// The ISO-8859-16 encoding.
82 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_16_ENCODING;
83
84 /// The ISO-8859-2 encoding.
85 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_2_ENCODING;
86
87 /// The ISO-8859-3 encoding.
88 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_3_ENCODING;
89
90 /// The ISO-8859-4 encoding.
91 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_4_ENCODING;
92
93 /// The ISO-8859-5 encoding.
94 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_5_ENCODING;
95
96 /// The ISO-8859-6 encoding.
97 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_6_ENCODING;
98
99 /// The ISO-8859-7 encoding.
100 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_7_ENCODING;
101
102 /// The ISO-8859-8 encoding.
103 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_8_ENCODING;
104
105 /// The ISO-8859-8-I encoding.
106 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_8_I_ENCODING;
107
108 /// The KOI8-R encoding.
109 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const KOI8_R_ENCODING;
110
111 /// The KOI8-U encoding.
112 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const KOI8_U_ENCODING;
113
114 /// The Shift_JIS encoding.
115 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const SHIFT_JIS_ENCODING;
116
117 /// The UTF-16BE encoding.
118 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_16BE_ENCODING;
119
120 /// The UTF-16LE encoding.
121 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_16LE_ENCODING;
122
123 /// The UTF-8 encoding.
124 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_8_ENCODING;
125
126 /// The gb18030 encoding.
127 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const GB18030_ENCODING;
128
129 /// The macintosh encoding.
130 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const MACINTOSH_ENCODING;
131
132 /// The replacement encoding.
133 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const REPLACEMENT_ENCODING;
134
135 /// The windows-1250 encoding.
136 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1250_ENCODING;
137
138 /// The windows-1251 encoding.
139 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1251_ENCODING;
140
141 /// The windows-1252 encoding.
142 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1252_ENCODING;
143
144 /// The windows-1253 encoding.
145 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1253_ENCODING;
146
147 /// The windows-1254 encoding.
148 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1254_ENCODING;
149
150 /// The windows-1255 encoding.
151 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1255_ENCODING;
152
153 /// The windows-1256 encoding.
154 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1256_ENCODING;
155
156 /// The windows-1257 encoding.
157 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1257_ENCODING;
158
159 /// The windows-1258 encoding.
160 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1258_ENCODING;
161
162 /// The windows-874 encoding.
163 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_874_ENCODING;
164
165 /// The x-mac-cyrillic encoding.
166 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const X_MAC_CYRILLIC_ENCODING;
167
168 /// The x-user-defined encoding.
169 extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const X_USER_DEFINED_ENCODING;
170
171 #endif // encoding_rs_statics_h_