Link with C++ linker
[oweals/cde.git] / cde / programs / nsgmls / URLStorageMessages.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: URLStorageMessages.h /main/1 1996/07/29 17:07:11 cde-hp $ */
24 // This file was automatically generated from URLStorageMessages.msg by msggen.pl.
25 #include "Message.h"
26
27 #ifdef SP_NAMESPACE
28 namespace SP_NAMESPACE {
29 #endif
30
31 struct URLStorageMessages {
32   // 2300
33   static const MessageType1 emptyHost;
34   // 2301
35   static const MessageType1 badRelative;
36   // 2302
37   static const MessageType1 emptyPort;
38   // 2303
39   static const MessageType1 invalidPort;
40   // 2304
41   static const MessageType1 hostNotFound;
42   // 2305
43   static const MessageType1 hostTryAgain;
44   // 2306
45   static const MessageType1 hostNoRecovery;
46   // 2307
47   static const MessageType1 hostNoData;
48   // 2308
49   static const MessageType2 hostOtherError;
50   // 2309
51   static const MessageType1 hostUnknownError;
52   // 2310
53   static const MessageType1 cannotCreateSocket;
54   // 2311
55   static const MessageType2 cannotConnect;
56   // 2312
57   static const MessageType2 writeError;
58   // 2313
59   static const MessageType2 readError;
60   // 2314
61   static const MessageType2 closeError;
62   // 2315
63   static const MessageType1 invalidHostNumber;
64   // 2316
65   static const MessageType3 getFailed;
66   // 2317
67   static const MessageType0 notSupported;
68   // 2318
69   static const MessageType0 onlyHTTP;
70   // 2319
71   static const MessageType1 winsockInitialize;
72   // 2320
73   static const MessageType0 winsockVersion;
74   // 2321
75   static const MessageFragment winsockErrorNumber;
76 };
77 const MessageType1 URLStorageMessages::emptyHost(
78 MessageType::error,
79 #ifdef BUILD_LIBSP
80 MessageFragment::libModule,
81 #else
82 MessageFragment::appModule,
83 #endif
84 2300
85 #ifndef SP_NO_MESSAGE_TEXT
86 ,"empty host in HTTP URL %1"
87 #endif
88 );
89 const MessageType1 URLStorageMessages::badRelative(
90 MessageType::error,
91 #ifdef BUILD_LIBSP
92 MessageFragment::libModule,
93 #else
94 MessageFragment::appModule,
95 #endif
96 2301
97 #ifndef SP_NO_MESSAGE_TEXT
98 ,"uncompletable relative HTTP URL %1"
99 #endif
100 );
101 const MessageType1 URLStorageMessages::emptyPort(
102 MessageType::error,
103 #ifdef BUILD_LIBSP
104 MessageFragment::libModule,
105 #else
106 MessageFragment::appModule,
107 #endif
108 2302
109 #ifndef SP_NO_MESSAGE_TEXT
110 ,"empty port number in HTTP URL %1"
111 #endif
112 );
113 const MessageType1 URLStorageMessages::invalidPort(
114 MessageType::error,
115 #ifdef BUILD_LIBSP
116 MessageFragment::libModule,
117 #else
118 MessageFragment::appModule,
119 #endif
120 2303
121 #ifndef SP_NO_MESSAGE_TEXT
122 ,"invalid port number in HTTP URL %1"
123 #endif
124 );
125 const MessageType1 URLStorageMessages::hostNotFound(
126 MessageType::error,
127 #ifdef BUILD_LIBSP
128 MessageFragment::libModule,
129 #else
130 MessageFragment::appModule,
131 #endif
132 2304
133 #ifndef SP_NO_MESSAGE_TEXT
134 ,"host %1 not found"
135 #endif
136 );
137 const MessageType1 URLStorageMessages::hostTryAgain(
138 MessageType::error,
139 #ifdef BUILD_LIBSP
140 MessageFragment::libModule,
141 #else
142 MessageFragment::appModule,
143 #endif
144 2305
145 #ifndef SP_NO_MESSAGE_TEXT
146 ,"could not resolve host %1 (try again later)"
147 #endif
148 );
149 const MessageType1 URLStorageMessages::hostNoRecovery(
150 MessageType::error,
151 #ifdef BUILD_LIBSP
152 MessageFragment::libModule,
153 #else
154 MessageFragment::appModule,
155 #endif
156 2306
157 #ifndef SP_NO_MESSAGE_TEXT
158 ,"could not resolve host %1 (unrecoverable error)"
159 #endif
160 );
161 const MessageType1 URLStorageMessages::hostNoData(
162 MessageType::error,
163 #ifdef BUILD_LIBSP
164 MessageFragment::libModule,
165 #else
166 MessageFragment::appModule,
167 #endif
168 2307
169 #ifndef SP_NO_MESSAGE_TEXT
170 ,"no address record for host name %1"
171 #endif
172 );
173 const MessageType2 URLStorageMessages::hostOtherError(
174 MessageType::error,
175 #ifdef BUILD_LIBSP
176 MessageFragment::libModule,
177 #else
178 MessageFragment::appModule,
179 #endif
180 2308
181 #ifndef SP_NO_MESSAGE_TEXT
182 ,"could not resolve host %1 (%2)"
183 #endif
184 );
185 const MessageType1 URLStorageMessages::hostUnknownError(
186 MessageType::error,
187 #ifdef BUILD_LIBSP
188 MessageFragment::libModule,
189 #else
190 MessageFragment::appModule,
191 #endif
192 2309
193 #ifndef SP_NO_MESSAGE_TEXT
194 ,"could not resolve host %1 (unknown error)"
195 #endif
196 );
197 const MessageType1 URLStorageMessages::cannotCreateSocket(
198 MessageType::error,
199 #ifdef BUILD_LIBSP
200 MessageFragment::libModule,
201 #else
202 MessageFragment::appModule,
203 #endif
204 2310
205 #ifndef SP_NO_MESSAGE_TEXT
206 ,"cannot create socket (%1)"
207 #endif
208 );
209 const MessageType2 URLStorageMessages::cannotConnect(
210 MessageType::error,
211 #ifdef BUILD_LIBSP
212 MessageFragment::libModule,
213 #else
214 MessageFragment::appModule,
215 #endif
216 2311
217 #ifndef SP_NO_MESSAGE_TEXT
218 ,"error connecting to %1 (%2)"
219 #endif
220 );
221 const MessageType2 URLStorageMessages::writeError(
222 MessageType::error,
223 #ifdef BUILD_LIBSP
224 MessageFragment::libModule,
225 #else
226 MessageFragment::appModule,
227 #endif
228 2312
229 #ifndef SP_NO_MESSAGE_TEXT
230 ,"error sending request to %1 (%2)"
231 #endif
232 );
233 const MessageType2 URLStorageMessages::readError(
234 MessageType::error,
235 #ifdef BUILD_LIBSP
236 MessageFragment::libModule,
237 #else
238 MessageFragment::appModule,
239 #endif
240 2313
241 #ifndef SP_NO_MESSAGE_TEXT
242 ,"error receiving from host %1 (%2)"
243 #endif
244 );
245 const MessageType2 URLStorageMessages::closeError(
246 MessageType::error,
247 #ifdef BUILD_LIBSP
248 MessageFragment::libModule,
249 #else
250 MessageFragment::appModule,
251 #endif
252 2314
253 #ifndef SP_NO_MESSAGE_TEXT
254 ,"error closing connection to host %1 (%2)"
255 #endif
256 );
257 const MessageType1 URLStorageMessages::invalidHostNumber(
258 MessageType::error,
259 #ifdef BUILD_LIBSP
260 MessageFragment::libModule,
261 #else
262 MessageFragment::appModule,
263 #endif
264 2315
265 #ifndef SP_NO_MESSAGE_TEXT
266 ,"invalid host number %1"
267 #endif
268 );
269 const MessageType3 URLStorageMessages::getFailed(
270 MessageType::error,
271 #ifdef BUILD_LIBSP
272 MessageFragment::libModule,
273 #else
274 MessageFragment::appModule,
275 #endif
276 2316
277 #ifndef SP_NO_MESSAGE_TEXT
278 ,"could not get %2 from %1 (reason given was %3)"
279 #endif
280 );
281 const MessageType0 URLStorageMessages::notSupported(
282 MessageType::error,
283 #ifdef BUILD_LIBSP
284 MessageFragment::libModule,
285 #else
286 MessageFragment::appModule,
287 #endif
288 2317
289 #ifndef SP_NO_MESSAGE_TEXT
290 ,"URL not supported by this version"
291 #endif
292 );
293 const MessageType0 URLStorageMessages::onlyHTTP(
294 MessageType::error,
295 #ifdef BUILD_LIBSP
296 MessageFragment::libModule,
297 #else
298 MessageFragment::appModule,
299 #endif
300 2318
301 #ifndef SP_NO_MESSAGE_TEXT
302 ,"only HTTP scheme supported"
303 #endif
304 );
305 const MessageType1 URLStorageMessages::winsockInitialize(
306 MessageType::error,
307 #ifdef BUILD_LIBSP
308 MessageFragment::libModule,
309 #else
310 MessageFragment::appModule,
311 #endif
312 2319
313 #ifndef SP_NO_MESSAGE_TEXT
314 ,"could not initialize Windows Sockets (%1)"
315 #endif
316 );
317 const MessageType0 URLStorageMessages::winsockVersion(
318 MessageType::error,
319 #ifdef BUILD_LIBSP
320 MessageFragment::libModule,
321 #else
322 MessageFragment::appModule,
323 #endif
324 2320
325 #ifndef SP_NO_MESSAGE_TEXT
326 ,"incompatible Windows Sockets version"
327 #endif
328 );
329 const MessageFragment URLStorageMessages::winsockErrorNumber(
330 #ifdef BUILD_LIBSP
331 MessageFragment::libModule,
332 #else
333 MessageFragment::appModule,
334 #endif
335 2321
336 #ifndef SP_NO_MESSAGE_TEXT
337 ,"error number "
338 #endif
339 );
340 #ifdef SP_NAMESPACE
341 }
342 #endif