File: URLStorageMessages.h

package info (click to toggle)
jade 1.2.1-43
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,808 kB
  • ctags: 16,989
  • sloc: cpp: 120,657; sh: 10,452; ansic: 8,228; perl: 378; makefile: 296; sed: 5
file content (319 lines) | stat: -rw-r--r-- 6,636 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
// This file was automatically generated from .\URLStorageMessages.msg by ..\msggen.pl.
#include "Message.h"

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

struct URLStorageMessages {
  // 2300
  static const MessageType1 emptyHost;
  // 2301
  static const MessageType1 badRelative;
  // 2302
  static const MessageType1 emptyPort;
  // 2303
  static const MessageType1 invalidPort;
  // 2304
  static const MessageType1 hostNotFound;
  // 2305
  static const MessageType1 hostTryAgain;
  // 2306
  static const MessageType1 hostNoRecovery;
  // 2307
  static const MessageType1 hostNoData;
  // 2308
  static const MessageType2 hostOtherError;
  // 2309
  static const MessageType1 hostUnknownError;
  // 2310
  static const MessageType1 cannotCreateSocket;
  // 2311
  static const MessageType2 cannotConnect;
  // 2312
  static const MessageType2 writeError;
  // 2313
  static const MessageType2 readError;
  // 2314
  static const MessageType2 closeError;
  // 2315
  static const MessageType1 invalidHostNumber;
  // 2316
  static const MessageType3 getFailed;
  // 2317
  static const MessageType0 notSupported;
  // 2318
  static const MessageType0 onlyHTTP;
  // 2319
  static const MessageType1 winsockInitialize;
  // 2320
  static const MessageType0 winsockVersion;
  // 2321
  static const MessageFragment winsockErrorNumber;
};
const MessageType1 URLStorageMessages::emptyHost(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2300
#ifndef SP_NO_MESSAGE_TEXT
,"empty host in HTTP URL %1"
#endif
);
const MessageType1 URLStorageMessages::badRelative(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2301
#ifndef SP_NO_MESSAGE_TEXT
,"uncompletable relative HTTP URL %1"
#endif
);
const MessageType1 URLStorageMessages::emptyPort(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2302
#ifndef SP_NO_MESSAGE_TEXT
,"empty port number in HTTP URL %1"
#endif
);
const MessageType1 URLStorageMessages::invalidPort(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2303
#ifndef SP_NO_MESSAGE_TEXT
,"invalid port number in HTTP URL %1"
#endif
);
const MessageType1 URLStorageMessages::hostNotFound(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2304
#ifndef SP_NO_MESSAGE_TEXT
,"host %1 not found"
#endif
);
const MessageType1 URLStorageMessages::hostTryAgain(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2305
#ifndef SP_NO_MESSAGE_TEXT
,"could not resolve host %1 (try again later)"
#endif
);
const MessageType1 URLStorageMessages::hostNoRecovery(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2306
#ifndef SP_NO_MESSAGE_TEXT
,"could not resolve host %1 (unrecoverable error)"
#endif
);
const MessageType1 URLStorageMessages::hostNoData(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2307
#ifndef SP_NO_MESSAGE_TEXT
,"no address record for host name %1"
#endif
);
const MessageType2 URLStorageMessages::hostOtherError(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2308
#ifndef SP_NO_MESSAGE_TEXT
,"could not resolve host %1 (%2)"
#endif
);
const MessageType1 URLStorageMessages::hostUnknownError(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2309
#ifndef SP_NO_MESSAGE_TEXT
,"could not resolve host %1 (unknown error)"
#endif
);
const MessageType1 URLStorageMessages::cannotCreateSocket(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2310
#ifndef SP_NO_MESSAGE_TEXT
,"cannot create socket (%1)"
#endif
);
const MessageType2 URLStorageMessages::cannotConnect(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2311
#ifndef SP_NO_MESSAGE_TEXT
,"error connecting to %1 (%2)"
#endif
);
const MessageType2 URLStorageMessages::writeError(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2312
#ifndef SP_NO_MESSAGE_TEXT
,"error sending request to %1 (%2)"
#endif
);
const MessageType2 URLStorageMessages::readError(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2313
#ifndef SP_NO_MESSAGE_TEXT
,"error receiving from host %1 (%2)"
#endif
);
const MessageType2 URLStorageMessages::closeError(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2314
#ifndef SP_NO_MESSAGE_TEXT
,"error closing connection to host %1 (%2)"
#endif
);
const MessageType1 URLStorageMessages::invalidHostNumber(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2315
#ifndef SP_NO_MESSAGE_TEXT
,"invalid host number %1"
#endif
);
const MessageType3 URLStorageMessages::getFailed(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2316
#ifndef SP_NO_MESSAGE_TEXT
,"could not get %2 from %1 (reason given was %3)"
#endif
);
const MessageType0 URLStorageMessages::notSupported(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2317
#ifndef SP_NO_MESSAGE_TEXT
,"URL not supported by this version"
#endif
);
const MessageType0 URLStorageMessages::onlyHTTP(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2318
#ifndef SP_NO_MESSAGE_TEXT
,"only HTTP scheme supported"
#endif
);
const MessageType1 URLStorageMessages::winsockInitialize(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2319
#ifndef SP_NO_MESSAGE_TEXT
,"could not initialize Windows Sockets (%1)"
#endif
);
const MessageType0 URLStorageMessages::winsockVersion(
MessageType::error,
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2320
#ifndef SP_NO_MESSAGE_TEXT
,"incompatible Windows Sockets version"
#endif
);
const MessageFragment URLStorageMessages::winsockErrorNumber(
#ifdef BUILD_LIBSP
MessageFragment::libModule,
#else
MessageFragment::appModule,
#endif
2321
#ifndef SP_NO_MESSAGE_TEXT
,"error number "
#endif
);
#ifdef SP_NAMESPACE
}
#endif