2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
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.
28 namespace SP_NAMESPACE {
31 struct URLStorageMessages {
33 static const MessageType1 emptyHost;
35 static const MessageType1 badRelative;
37 static const MessageType1 emptyPort;
39 static const MessageType1 invalidPort;
41 static const MessageType1 hostNotFound;
43 static const MessageType1 hostTryAgain;
45 static const MessageType1 hostNoRecovery;
47 static const MessageType1 hostNoData;
49 static const MessageType2 hostOtherError;
51 static const MessageType1 hostUnknownError;
53 static const MessageType1 cannotCreateSocket;
55 static const MessageType2 cannotConnect;
57 static const MessageType2 writeError;
59 static const MessageType2 readError;
61 static const MessageType2 closeError;
63 static const MessageType1 invalidHostNumber;
65 static const MessageType3 getFailed;
67 static const MessageType0 notSupported;
69 static const MessageType0 onlyHTTP;
71 static const MessageType1 winsockInitialize;
73 static const MessageType0 winsockVersion;
75 static const MessageFragment winsockErrorNumber;
77 const MessageType1 URLStorageMessages::emptyHost(
80 MessageFragment::libModule,
82 MessageFragment::appModule,
85 #ifndef SP_NO_MESSAGE_TEXT
86 ,"empty host in HTTP URL %1"
89 const MessageType1 URLStorageMessages::badRelative(
92 MessageFragment::libModule,
94 MessageFragment::appModule,
97 #ifndef SP_NO_MESSAGE_TEXT
98 ,"uncompletable relative HTTP URL %1"
101 const MessageType1 URLStorageMessages::emptyPort(
104 MessageFragment::libModule,
106 MessageFragment::appModule,
109 #ifndef SP_NO_MESSAGE_TEXT
110 ,"empty port number in HTTP URL %1"
113 const MessageType1 URLStorageMessages::invalidPort(
116 MessageFragment::libModule,
118 MessageFragment::appModule,
121 #ifndef SP_NO_MESSAGE_TEXT
122 ,"invalid port number in HTTP URL %1"
125 const MessageType1 URLStorageMessages::hostNotFound(
128 MessageFragment::libModule,
130 MessageFragment::appModule,
133 #ifndef SP_NO_MESSAGE_TEXT
137 const MessageType1 URLStorageMessages::hostTryAgain(
140 MessageFragment::libModule,
142 MessageFragment::appModule,
145 #ifndef SP_NO_MESSAGE_TEXT
146 ,"could not resolve host %1 (try again later)"
149 const MessageType1 URLStorageMessages::hostNoRecovery(
152 MessageFragment::libModule,
154 MessageFragment::appModule,
157 #ifndef SP_NO_MESSAGE_TEXT
158 ,"could not resolve host %1 (unrecoverable error)"
161 const MessageType1 URLStorageMessages::hostNoData(
164 MessageFragment::libModule,
166 MessageFragment::appModule,
169 #ifndef SP_NO_MESSAGE_TEXT
170 ,"no address record for host name %1"
173 const MessageType2 URLStorageMessages::hostOtherError(
176 MessageFragment::libModule,
178 MessageFragment::appModule,
181 #ifndef SP_NO_MESSAGE_TEXT
182 ,"could not resolve host %1 (%2)"
185 const MessageType1 URLStorageMessages::hostUnknownError(
188 MessageFragment::libModule,
190 MessageFragment::appModule,
193 #ifndef SP_NO_MESSAGE_TEXT
194 ,"could not resolve host %1 (unknown error)"
197 const MessageType1 URLStorageMessages::cannotCreateSocket(
200 MessageFragment::libModule,
202 MessageFragment::appModule,
205 #ifndef SP_NO_MESSAGE_TEXT
206 ,"cannot create socket (%1)"
209 const MessageType2 URLStorageMessages::cannotConnect(
212 MessageFragment::libModule,
214 MessageFragment::appModule,
217 #ifndef SP_NO_MESSAGE_TEXT
218 ,"error connecting to %1 (%2)"
221 const MessageType2 URLStorageMessages::writeError(
224 MessageFragment::libModule,
226 MessageFragment::appModule,
229 #ifndef SP_NO_MESSAGE_TEXT
230 ,"error sending request to %1 (%2)"
233 const MessageType2 URLStorageMessages::readError(
236 MessageFragment::libModule,
238 MessageFragment::appModule,
241 #ifndef SP_NO_MESSAGE_TEXT
242 ,"error receiving from host %1 (%2)"
245 const MessageType2 URLStorageMessages::closeError(
248 MessageFragment::libModule,
250 MessageFragment::appModule,
253 #ifndef SP_NO_MESSAGE_TEXT
254 ,"error closing connection to host %1 (%2)"
257 const MessageType1 URLStorageMessages::invalidHostNumber(
260 MessageFragment::libModule,
262 MessageFragment::appModule,
265 #ifndef SP_NO_MESSAGE_TEXT
266 ,"invalid host number %1"
269 const MessageType3 URLStorageMessages::getFailed(
272 MessageFragment::libModule,
274 MessageFragment::appModule,
277 #ifndef SP_NO_MESSAGE_TEXT
278 ,"could not get %2 from %1 (reason given was %3)"
281 const MessageType0 URLStorageMessages::notSupported(
284 MessageFragment::libModule,
286 MessageFragment::appModule,
289 #ifndef SP_NO_MESSAGE_TEXT
290 ,"URL not supported by this version"
293 const MessageType0 URLStorageMessages::onlyHTTP(
296 MessageFragment::libModule,
298 MessageFragment::appModule,
301 #ifndef SP_NO_MESSAGE_TEXT
302 ,"only HTTP scheme supported"
305 const MessageType1 URLStorageMessages::winsockInitialize(
308 MessageFragment::libModule,
310 MessageFragment::appModule,
313 #ifndef SP_NO_MESSAGE_TEXT
314 ,"could not initialize Windows Sockets (%1)"
317 const MessageType0 URLStorageMessages::winsockVersion(
320 MessageFragment::libModule,
322 MessageFragment::appModule,
325 #ifndef SP_NO_MESSAGE_TEXT
326 ,"incompatible Windows Sockets version"
329 const MessageFragment URLStorageMessages::winsockErrorNumber(
331 MessageFragment::libModule,
333 MessageFragment::appModule,
336 #ifndef SP_NO_MESSAGE_TEXT