123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: URLStorageMessages.h /main/1 1996/07/29 17:07:11 cde-hp $ */
- // 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
|