URLStorageMessages.h 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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 libraries 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. #ifdef SP_NAMESPACE
  27. namespace SP_NAMESPACE {
  28. #endif
  29. struct URLStorageMessages {
  30. // 2300
  31. static const MessageType1 emptyHost;
  32. // 2301
  33. static const MessageType1 badRelative;
  34. // 2302
  35. static const MessageType1 emptyPort;
  36. // 2303
  37. static const MessageType1 invalidPort;
  38. // 2304
  39. static const MessageType1 hostNotFound;
  40. // 2305
  41. static const MessageType1 hostTryAgain;
  42. // 2306
  43. static const MessageType1 hostNoRecovery;
  44. // 2307
  45. static const MessageType1 hostNoData;
  46. // 2308
  47. static const MessageType2 hostOtherError;
  48. // 2309
  49. static const MessageType1 hostUnknownError;
  50. // 2310
  51. static const MessageType1 cannotCreateSocket;
  52. // 2311
  53. static const MessageType2 cannotConnect;
  54. // 2312
  55. static const MessageType2 writeError;
  56. // 2313
  57. static const MessageType2 readError;
  58. // 2314
  59. static const MessageType2 closeError;
  60. // 2315
  61. static const MessageType1 invalidHostNumber;
  62. // 2316
  63. static const MessageType3 getFailed;
  64. // 2317
  65. static const MessageType0 notSupported;
  66. // 2318
  67. static const MessageType0 onlyHTTP;
  68. // 2319
  69. static const MessageType1 winsockInitialize;
  70. // 2320
  71. static const MessageType0 winsockVersion;
  72. // 2321
  73. static const MessageFragment winsockErrorNumber;
  74. };
  75. const MessageType1 URLStorageMessages::emptyHost(
  76. MessageType::error,
  77. #ifdef BUILD_LIBSP
  78. MessageFragment::libModule,
  79. #else
  80. MessageFragment::appModule,
  81. #endif
  82. 2300
  83. #ifndef SP_NO_MESSAGE_TEXT
  84. ,"empty host in HTTP URL %1"
  85. #endif
  86. );
  87. const MessageType1 URLStorageMessages::badRelative(
  88. MessageType::error,
  89. #ifdef BUILD_LIBSP
  90. MessageFragment::libModule,
  91. #else
  92. MessageFragment::appModule,
  93. #endif
  94. 2301
  95. #ifndef SP_NO_MESSAGE_TEXT
  96. ,"uncompletable relative HTTP URL %1"
  97. #endif
  98. );
  99. const MessageType1 URLStorageMessages::emptyPort(
  100. MessageType::error,
  101. #ifdef BUILD_LIBSP
  102. MessageFragment::libModule,
  103. #else
  104. MessageFragment::appModule,
  105. #endif
  106. 2302
  107. #ifndef SP_NO_MESSAGE_TEXT
  108. ,"empty port number in HTTP URL %1"
  109. #endif
  110. );
  111. const MessageType1 URLStorageMessages::invalidPort(
  112. MessageType::error,
  113. #ifdef BUILD_LIBSP
  114. MessageFragment::libModule,
  115. #else
  116. MessageFragment::appModule,
  117. #endif
  118. 2303
  119. #ifndef SP_NO_MESSAGE_TEXT
  120. ,"invalid port number in HTTP URL %1"
  121. #endif
  122. );
  123. const MessageType1 URLStorageMessages::hostNotFound(
  124. MessageType::error,
  125. #ifdef BUILD_LIBSP
  126. MessageFragment::libModule,
  127. #else
  128. MessageFragment::appModule,
  129. #endif
  130. 2304
  131. #ifndef SP_NO_MESSAGE_TEXT
  132. ,"host %1 not found"
  133. #endif
  134. );
  135. const MessageType1 URLStorageMessages::hostTryAgain(
  136. MessageType::error,
  137. #ifdef BUILD_LIBSP
  138. MessageFragment::libModule,
  139. #else
  140. MessageFragment::appModule,
  141. #endif
  142. 2305
  143. #ifndef SP_NO_MESSAGE_TEXT
  144. ,"could not resolve host %1 (try again later)"
  145. #endif
  146. );
  147. const MessageType1 URLStorageMessages::hostNoRecovery(
  148. MessageType::error,
  149. #ifdef BUILD_LIBSP
  150. MessageFragment::libModule,
  151. #else
  152. MessageFragment::appModule,
  153. #endif
  154. 2306
  155. #ifndef SP_NO_MESSAGE_TEXT
  156. ,"could not resolve host %1 (unrecoverable error)"
  157. #endif
  158. );
  159. const MessageType1 URLStorageMessages::hostNoData(
  160. MessageType::error,
  161. #ifdef BUILD_LIBSP
  162. MessageFragment::libModule,
  163. #else
  164. MessageFragment::appModule,
  165. #endif
  166. 2307
  167. #ifndef SP_NO_MESSAGE_TEXT
  168. ,"no address record for host name %1"
  169. #endif
  170. );
  171. const MessageType2 URLStorageMessages::hostOtherError(
  172. MessageType::error,
  173. #ifdef BUILD_LIBSP
  174. MessageFragment::libModule,
  175. #else
  176. MessageFragment::appModule,
  177. #endif
  178. 2308
  179. #ifndef SP_NO_MESSAGE_TEXT
  180. ,"could not resolve host %1 (%2)"
  181. #endif
  182. );
  183. const MessageType1 URLStorageMessages::hostUnknownError(
  184. MessageType::error,
  185. #ifdef BUILD_LIBSP
  186. MessageFragment::libModule,
  187. #else
  188. MessageFragment::appModule,
  189. #endif
  190. 2309
  191. #ifndef SP_NO_MESSAGE_TEXT
  192. ,"could not resolve host %1 (unknown error)"
  193. #endif
  194. );
  195. const MessageType1 URLStorageMessages::cannotCreateSocket(
  196. MessageType::error,
  197. #ifdef BUILD_LIBSP
  198. MessageFragment::libModule,
  199. #else
  200. MessageFragment::appModule,
  201. #endif
  202. 2310
  203. #ifndef SP_NO_MESSAGE_TEXT
  204. ,"cannot create socket (%1)"
  205. #endif
  206. );
  207. const MessageType2 URLStorageMessages::cannotConnect(
  208. MessageType::error,
  209. #ifdef BUILD_LIBSP
  210. MessageFragment::libModule,
  211. #else
  212. MessageFragment::appModule,
  213. #endif
  214. 2311
  215. #ifndef SP_NO_MESSAGE_TEXT
  216. ,"error connecting to %1 (%2)"
  217. #endif
  218. );
  219. const MessageType2 URLStorageMessages::writeError(
  220. MessageType::error,
  221. #ifdef BUILD_LIBSP
  222. MessageFragment::libModule,
  223. #else
  224. MessageFragment::appModule,
  225. #endif
  226. 2312
  227. #ifndef SP_NO_MESSAGE_TEXT
  228. ,"error sending request to %1 (%2)"
  229. #endif
  230. );
  231. const MessageType2 URLStorageMessages::readError(
  232. MessageType::error,
  233. #ifdef BUILD_LIBSP
  234. MessageFragment::libModule,
  235. #else
  236. MessageFragment::appModule,
  237. #endif
  238. 2313
  239. #ifndef SP_NO_MESSAGE_TEXT
  240. ,"error receiving from host %1 (%2)"
  241. #endif
  242. );
  243. const MessageType2 URLStorageMessages::closeError(
  244. MessageType::error,
  245. #ifdef BUILD_LIBSP
  246. MessageFragment::libModule,
  247. #else
  248. MessageFragment::appModule,
  249. #endif
  250. 2314
  251. #ifndef SP_NO_MESSAGE_TEXT
  252. ,"error closing connection to host %1 (%2)"
  253. #endif
  254. );
  255. const MessageType1 URLStorageMessages::invalidHostNumber(
  256. MessageType::error,
  257. #ifdef BUILD_LIBSP
  258. MessageFragment::libModule,
  259. #else
  260. MessageFragment::appModule,
  261. #endif
  262. 2315
  263. #ifndef SP_NO_MESSAGE_TEXT
  264. ,"invalid host number %1"
  265. #endif
  266. );
  267. const MessageType3 URLStorageMessages::getFailed(
  268. MessageType::error,
  269. #ifdef BUILD_LIBSP
  270. MessageFragment::libModule,
  271. #else
  272. MessageFragment::appModule,
  273. #endif
  274. 2316
  275. #ifndef SP_NO_MESSAGE_TEXT
  276. ,"could not get %2 from %1 (reason given was %3)"
  277. #endif
  278. );
  279. const MessageType0 URLStorageMessages::notSupported(
  280. MessageType::error,
  281. #ifdef BUILD_LIBSP
  282. MessageFragment::libModule,
  283. #else
  284. MessageFragment::appModule,
  285. #endif
  286. 2317
  287. #ifndef SP_NO_MESSAGE_TEXT
  288. ,"URL not supported by this version"
  289. #endif
  290. );
  291. const MessageType0 URLStorageMessages::onlyHTTP(
  292. MessageType::error,
  293. #ifdef BUILD_LIBSP
  294. MessageFragment::libModule,
  295. #else
  296. MessageFragment::appModule,
  297. #endif
  298. 2318
  299. #ifndef SP_NO_MESSAGE_TEXT
  300. ,"only HTTP scheme supported"
  301. #endif
  302. );
  303. const MessageType1 URLStorageMessages::winsockInitialize(
  304. MessageType::error,
  305. #ifdef BUILD_LIBSP
  306. MessageFragment::libModule,
  307. #else
  308. MessageFragment::appModule,
  309. #endif
  310. 2319
  311. #ifndef SP_NO_MESSAGE_TEXT
  312. ,"could not initialize Windows Sockets (%1)"
  313. #endif
  314. );
  315. const MessageType0 URLStorageMessages::winsockVersion(
  316. MessageType::error,
  317. #ifdef BUILD_LIBSP
  318. MessageFragment::libModule,
  319. #else
  320. MessageFragment::appModule,
  321. #endif
  322. 2320
  323. #ifndef SP_NO_MESSAGE_TEXT
  324. ,"incompatible Windows Sockets version"
  325. #endif
  326. );
  327. const MessageFragment URLStorageMessages::winsockErrorNumber(
  328. #ifdef BUILD_LIBSP
  329. MessageFragment::libModule,
  330. #else
  331. MessageFragment::appModule,
  332. #endif
  333. 2321
  334. #ifndef SP_NO_MESSAGE_TEXT
  335. ,"error number "
  336. #endif
  337. );
  338. #ifdef SP_NAMESPACE
  339. }
  340. #endif