epoc32/include/wapmsgerr.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/wapmsgerr.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/wapmsgerr.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,249 +1,249 @@
     1.4 -// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __WAPMSGERR_H__
    1.20 -#define __WAPMSGERR_H__
    1.21 -
    1.22 -#include <e32base.h>
    1.23 -
    1.24 -namespace Wap
    1.25 -/** 
    1.26 -* Defines WAP-related types and error codes. 
    1.27 -*/
    1.28 -	{
    1.29 -	_LIT(KWapMsgPanicDescriptor, "WAPMESSAGE");
    1.30 -
    1.31 -/** Defines start values for categories of WAP-related error codes. */
    1.32 -enum 
    1.33 -	{
    1.34 -	/** Base value for all error codes. */
    1.35 -	ERetCodeBase      = -5500,
    1.36 -	/** Base value for connection-orientated WSP error codes. */
    1.37 -	EWSPCORetCodeBase = ERetCodeBase + 25,
    1.38 -	/** Base value for connectionless WSP error codes. */
    1.39 -	EWSPCLRetCodeBase = ERetCodeBase + 50,
    1.40 -	/** Base value for WTP error codes. */
    1.41 -	EWTPRetCodeBase   = ERetCodeBase + 75,
    1.42 -	/** Base value for WDP error codes. */
    1.43 -	EWDPRetCodeBase   = ERetCodeBase + 100,
    1.44 -	/** Base value for WTLS error codes. */
    1.45 -	EWTLSRetCodeBase  = ERetCodeBase + 125,
    1.46 -	/** Maximum value for WAP-related error codes. */
    1.47 -	ERetCodeTop       = ERetCodeBase + 200
    1.48 -	};
    1.49 -	
    1.50 -/** General WAP error codes. */
    1.51 -enum TGeneralReturnCodes
    1.52 -	{  
    1.53 -	/** There is more data to be read. */
    1.54 -	EMoreData           = ERetCodeBase + 0,
    1.55 -	/** One of: no bearer set; unknown bearer; a connection exists with different bearer; 
    1.56 -	* unable to get a local host name from bearer. */
    1.57 -	EBearerError        = ERetCodeBase + 1,
    1.58 -	/** The port is already used in another bound connection. */
    1.59 -	EPortAlreadyBound   = ERetCodeBase + 2,
    1.60 -	/** Local port cannot be opened. */
    1.61 -	ECannotOpenPort     = ERetCodeBase + 3,
    1.62 -	/** There are too many existing connections. */
    1.63 -	ETooManyConnections = ERetCodeBase + 4,
    1.64 -	/** Connection handle is invalid. */
    1.65 -	EBadConnection      = ERetCodeBase + 5,
    1.66 -	/** Passed buffer is too small. */
    1.67 -	EBufferTooSmall     = ERetCodeBase + 6
    1.68 -	};
    1.69 -
    1.70 -/** WTLS-related error codes. */
    1.71 -enum TWtlsReturnCodes
    1.72 -	{
    1.73 -	/** Out of memory. */
    1.74 -	EWtlsOutOfMemory            = EWTLSRetCodeBase + 0,
    1.75 -	/** Socket error. */
    1.76 -	EWtlsSocketError            = EWTLSRetCodeBase + 1,
    1.77 -	/** Invalid parameter used. */
    1.78 -	EWtlsBadParameters          = EWTLSRetCodeBase + 2,
    1.79 -	/** Socket error. */
    1.80 -	EWtlsSocketError2           = EWTLSRetCodeBase + 3,
    1.81 -	/** Resume ID not found. */
    1.82 -	EWtlsResumeIDNotFound       = EWTLSRetCodeBase + 4,
    1.83 -	/** Resume error. */
    1.84 -	EWtlsResumeError            = EWTLSRetCodeBase + 5,
    1.85 -	/** Renegotiation request error. */
    1.86 -	EWtlsRenegotiationRequest   = EWTLSRetCodeBase + 6,
    1.87 -	/** Illegal call. */
    1.88 -	EWtlsIllegalCall            = EWTLSRetCodeBase + 7,
    1.89 -	/** Connection close notify error. */
    1.90 -	EWtlsConnectionCloseNotify  = EWTLSRetCodeBase + 8,
    1.91 -	/** Close notify error. */
    1.92 -	EWtlsSessionCloseNotify     = EWTLSRetCodeBase + 9,
    1.93 -	/** No connection. */
    1.94 -	EWtlsNoConnection           = EWTLSRetCodeBase + 10,
    1.95 -	/** Unexpected message. */
    1.96 -	EWtlsUnexpectedMessage      = EWTLSRetCodeBase + 11,
    1.97 -	/** Bad MAC record. */
    1.98 -	EWtlsBadRecordMac           = EWTLSRetCodeBase + 12,
    1.99 -	/** Decryption failed. */
   1.100 -	EWtlsDecryptionFailed       = EWTLSRetCodeBase + 13,
   1.101 -	/** Record overflow. */
   1.102 -	EWtlsRecordOverflow         = EWTLSRetCodeBase + 14,
   1.103 -	/** Handshake failure. */
   1.104 -	EWtlsHandshakeFailure       = EWTLSRetCodeBase + 15,
   1.105 -	/** Decompression failure. */
   1.106 -	EWtlsDecompressionFailure   = EWTLSRetCodeBase + 16,
   1.107 -	/** Bad certificate. */
   1.108 -	EWtlsBadCertificate         = EWTLSRetCodeBase + 17,
   1.109 -	/** Unsupported certificate. */
   1.110 -	EWtlsUnsupportedCertificate = EWTLSRetCodeBase + 18,
   1.111 -	/** Certificate revoked. */
   1.112 -	EWtlsCertificateRevoked     = EWTLSRetCodeBase + 19,
   1.113 -	/** Certificate expired. */
   1.114 -	EWtlsCertificateExpired     = EWTLSRetCodeBase + 20,
   1.115 -	/** Certificate unknown. */
   1.116 -	EWtlsCertificateUnknown     = EWTLSRetCodeBase + 21,
   1.117 -	/** Illegal parameter. */
   1.118 -	EWtlsIllegalParameter       = EWTLSRetCodeBase + 22,
   1.119 -	/** Unknown certificate authority. */
   1.120 -	EWtlsUnknownCA              = EWTLSRetCodeBase + 23,
   1.121 -	/** Access denied. */
   1.122 -	EWtlsAccessDenied           = EWTLSRetCodeBase + 24,
   1.123 -	/** Decoding error. */
   1.124 -	EWtlsDecodeError            = EWTLSRetCodeBase + 25,
   1.125 -	/** Decryption error. */
   1.126 -	EWtlsDecryptError           = EWTLSRetCodeBase + 26,
   1.127 -	/** Unknown key ID. */
   1.128 -	EWtlsUnknownKeyId           = EWTLSRetCodeBase + 27,
   1.129 -	/** Disabled key ID. */
   1.130 -	EWtlsDisableKeyId           = EWTLSRetCodeBase + 28,
   1.131 -	/** Key exchange disabled. */
   1.132 -	EWtlsKeyExchangeDisabled    = EWTLSRetCodeBase + 29,
   1.133 -	/** Session not ready. */
   1.134 -	EWtlsSessionNotReady        = EWTLSRetCodeBase + 30,
   1.135 -	/** Unknown parameter index. */
   1.136 -	EWtlsUnknownParameterIndex  = EWTLSRetCodeBase + 31,
   1.137 -	/** Duplicate finished Recv() call. */
   1.138 -	EWtlsDuplicateFinishedRecv  = EWTLSRetCodeBase + 32,
   1.139 -	/** Export restriction error. */
   1.140 -	EWtlsExportRestriction      = EWTLSRetCodeBase + 33,
   1.141 -	/** Protocol version error. */
   1.142 -	EWtlsProtocolVersion        = EWTLSRetCodeBase + 34,
   1.143 -	/** Insufficient security. */
   1.144 -	EWtlsInsufficientSecurity   = EWTLSRetCodeBase + 35,
   1.145 -	/** Internal error. */
   1.146 -	EWtlsInternalError          = EWTLSRetCodeBase + 36,
   1.147 -	/** User cancelled operation. */
   1.148 -	EWtlsUserCanceled           = EWTLSRetCodeBase + 37,
   1.149 -	/** No renegotiation. */
   1.150 -	EWtlsNoRenegotiation        = EWTLSRetCodeBase + 38,
   1.151 -
   1.152 -	/** General error. */
   1.153 -	EWtlsErrGeneral             = EWTLSRetCodeBase + 39,
   1.154 -	/** Bulk algorithm error. */
   1.155 -	EWtlsErrBulk                = EWTLSRetCodeBase + 40,
   1.156 -	/** MAC algorithm error. */
   1.157 -	EWtlsErrMac                 = EWTLSRetCodeBase + 41,
   1.158 -	/** Sequence number mode error. */
   1.159 -	EWtlsErrSequenceNumberMode  = EWTLSRetCodeBase + 42,
   1.160 -	/** Key refresh rate error. */
   1.161 -	EWtlsErrKeyRefreshRate      = EWTLSRetCodeBase + 43,
   1.162 -
   1.163 -	};
   1.164 -
   1.165 -/** Connection-orientated WSP error codes. */
   1.166 -enum TWspCoReturnCodes
   1.167 -	{
   1.168 -	/** Given buffer is too small. */
   1.169 -	EWspCoBufferTooSmall      = EWSPCORetCodeBase + 0,
   1.170 -	/** Session handle is not valid. */
   1.171 -	EWspCoInvalidSession      = EWSPCORetCodeBase + 1,
   1.172 -	/** Invalid transaction. */
   1.173 -	EWspCoInvalidTransaction  = EWSPCORetCodeBase + 2,
   1.174 -	/** Given parameter is invalid. */
   1.175 -	EWspCoParameterError      = EWSPCORetCodeBase + 3,
   1.176 -	/** Session is not connected. */
   1.177 -	EWspCoSessionNotConnected = EWSPCORetCodeBase + 4,
   1.178 -	/** Functionality is not supported in this session. */
   1.179 -	EWspCoNotSupported        = EWSPCORetCodeBase + 5,
   1.180 -	/** Function is not applicable in this state of an object. */
   1.181 -	EWspCoInvalidState        = EWSPCORetCodeBase + 6,
   1.182 -	/** Session has been closed. */
   1.183 -	EWspCoSessionClosed       = EWSPCORetCodeBase + 7,
   1.184 -	/** Server MRU exceeded. */
   1.185 -	EWspCoMRUExceeded         = EWSPCORetCodeBase + 8,
   1.186 -	/** Invalid buffer size. */
   1.187 -	EWspCoInvalidBufferSize   = EWSPCORetCodeBase + 9,
   1.188 -	/** Data not available. */
   1.189 -	EWspCoDataNotAvailable    = EWSPCORetCodeBase + 10,
   1.190 -	/** Timeout error. */
   1.191 -	EWspCoErrorTimeout        = EWSPCORetCodeBase + 11
   1.192 -	};
   1.193 -	
   1.194 -
   1.195 -/** Connectionless WSP error codes. */
   1.196 -enum TWspClReturnCodes
   1.197 -	{			
   1.198 -	/** Given buffer is too small. */
   1.199 -	EWspClBufferTooSmall      = EWSPCLRetCodeBase + 0,
   1.200 -	/** Session handle is not valid. */
   1.201 -	EWspClInvalidSession      = EWSPCLRetCodeBase + 1,
   1.202 -	/** Given parameter is invalid. */
   1.203 -	EWspClParameterError      = EWSPCLRetCodeBase + 2,
   1.204 -	/** Session is not connected. */
   1.205 -	EWspClSessionNotConnected = EWSPCLRetCodeBase + 3,
   1.206 -	/** Functionality is not supported in this session. */
   1.207 -	EWspClNotSupported        = EWSPCLRetCodeBase + 4,
   1.208 -	/** Function is not applicable in this state of an object. */
   1.209 -	EWspClInvalidState        = EWSPCLRetCodeBase + 5,
   1.210 -	/** Session has been closed. */
   1.211 -	EWspClSessionClosed       = EWSPCLRetCodeBase + 6,
   1.212 -	/** Server MRU exceeded. */
   1.213 -	EWspClMRUExceeded		 = EWSPCLRetCodeBase + 7,	
   1.214 -	/** Invalid buffer size. */
   1.215 -	EWspClInvalidBufferSize   = EWSPCLRetCodeBase + 8,
   1.216 -	/** Data not available. */
   1.217 -	EWspClDataNotAvailable    = EWSPCLRetCodeBase + 9,
   1.218 -	/** Timeout error. */
   1.219 -	EWspClErrorTimeout        = EWSPCLRetCodeBase + 10
   1.220 -	};
   1.221 -
   1.222 -/** WTP-related error codes. */
   1.223 -enum TWtpReturnCodes
   1.224 -	{
   1.225 -	/** Out of memory. */
   1.226 -	EWtpNoMemory                 = EWTPRetCodeBase + 0,
   1.227 -	/** Invalid argument. */
   1.228 -	EWtpBadArgument              = EWTPRetCodeBase + 1,
   1.229 -	/** Provider aborted. */
   1.230 -	EWtpProviderProtoErr         = EWTPRetCodeBase + 2,
   1.231 -	/** Provider aborted. */
   1.232 -	EWtpProviderAbortInvalidTID  = EWTPRetCodeBase + 3,
   1.233 -	/** Provider aborted. */
   1.234 -	EWtpProviderAbortNoClass2    = EWTPRetCodeBase + 4,
   1.235 -	/** Provider aborted. */
   1.236 -	EWtpProviderAbortNoSAR       = EWTPRetCodeBase + 5,
   1.237 -	/** Provider aborted. */
   1.238 -	EWtpProviderAbortNoUACK      = EWTPRetCodeBase + 6,
   1.239 -	/** Provider aborted. */
   1.240 -	EWtpProviderAbortVers1       = EWTPRetCodeBase + 7,
   1.241 -	/** Provider aborted. */
   1.242 -	EWtpProviderAbortNoResponse  = EWTPRetCodeBase + 8,
   1.243 -	/** Provider aborted. */
   1.244 -	EWtpProviderAbortMsgTooLarge = EWTPRetCodeBase + 9,
   1.245 -	/** Provider aborted. */
   1.246 -	EWtpProviderAbortGeneral     = EWTPRetCodeBase + 10,
   1.247 -	/** Service has shutdown. */
   1.248 -	EWtpShutdownError            = EWTPRetCodeBase + 11
   1.249 -	};
   1.250 -}
   1.251 -
   1.252 -#endif // __WAPMSGERR_H__
   1.253 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
   1.254 +// All rights reserved.
   1.255 +// This component and the accompanying materials are made available
   1.256 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
   1.257 +// which accompanies this distribution, and is available
   1.258 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
   1.259 +//
   1.260 +// Initial Contributors:
   1.261 +// Nokia Corporation - initial contribution.
   1.262 +//
   1.263 +// Contributors:
   1.264 +//
   1.265 +// Description:
   1.266 +//
   1.267 +
   1.268 +#ifndef __WAPMSGERR_H__
   1.269 +#define __WAPMSGERR_H__
   1.270 +
   1.271 +#include <e32base.h>
   1.272 +
   1.273 +namespace Wap
   1.274 +/** 
   1.275 +* Defines WAP-related types and error codes. 
   1.276 +*/
   1.277 +	{
   1.278 +	_LIT(KWapMsgPanicDescriptor, "WAPMESSAGE");
   1.279 +
   1.280 +/** Defines start values for categories of WAP-related error codes. */
   1.281 +enum 
   1.282 +	{
   1.283 +	/** Base value for all error codes. */
   1.284 +	ERetCodeBase      = -5500,
   1.285 +	/** Base value for connection-orientated WSP error codes. */
   1.286 +	EWSPCORetCodeBase = ERetCodeBase + 25,
   1.287 +	/** Base value for connectionless WSP error codes. */
   1.288 +	EWSPCLRetCodeBase = ERetCodeBase + 50,
   1.289 +	/** Base value for WTP error codes. */
   1.290 +	EWTPRetCodeBase   = ERetCodeBase + 75,
   1.291 +	/** Base value for WDP error codes. */
   1.292 +	EWDPRetCodeBase   = ERetCodeBase + 100,
   1.293 +	/** Base value for WTLS error codes. */
   1.294 +	EWTLSRetCodeBase  = ERetCodeBase + 125,
   1.295 +	/** Maximum value for WAP-related error codes. */
   1.296 +	ERetCodeTop       = ERetCodeBase + 200
   1.297 +	};
   1.298 +	
   1.299 +/** General WAP error codes. */
   1.300 +enum TGeneralReturnCodes
   1.301 +	{  
   1.302 +	/** There is more data to be read. */
   1.303 +	EMoreData           = ERetCodeBase + 0,
   1.304 +	/** One of: no bearer set; unknown bearer; a connection exists with different bearer; 
   1.305 +	* unable to get a local host name from bearer. */
   1.306 +	EBearerError        = ERetCodeBase + 1,
   1.307 +	/** The port is already used in another bound connection. */
   1.308 +	EPortAlreadyBound   = ERetCodeBase + 2,
   1.309 +	/** Local port cannot be opened. */
   1.310 +	ECannotOpenPort     = ERetCodeBase + 3,
   1.311 +	/** There are too many existing connections. */
   1.312 +	ETooManyConnections = ERetCodeBase + 4,
   1.313 +	/** Connection handle is invalid. */
   1.314 +	EBadConnection      = ERetCodeBase + 5,
   1.315 +	/** Passed buffer is too small. */
   1.316 +	EBufferTooSmall     = ERetCodeBase + 6
   1.317 +	};
   1.318 +
   1.319 +/** WTLS-related error codes. */
   1.320 +enum TWtlsReturnCodes
   1.321 +	{
   1.322 +	/** Out of memory. */
   1.323 +	EWtlsOutOfMemory            = EWTLSRetCodeBase + 0,
   1.324 +	/** Socket error. */
   1.325 +	EWtlsSocketError            = EWTLSRetCodeBase + 1,
   1.326 +	/** Invalid parameter used. */
   1.327 +	EWtlsBadParameters          = EWTLSRetCodeBase + 2,
   1.328 +	/** Socket error. */
   1.329 +	EWtlsSocketError2           = EWTLSRetCodeBase + 3,
   1.330 +	/** Resume ID not found. */
   1.331 +	EWtlsResumeIDNotFound       = EWTLSRetCodeBase + 4,
   1.332 +	/** Resume error. */
   1.333 +	EWtlsResumeError            = EWTLSRetCodeBase + 5,
   1.334 +	/** Renegotiation request error. */
   1.335 +	EWtlsRenegotiationRequest   = EWTLSRetCodeBase + 6,
   1.336 +	/** Illegal call. */
   1.337 +	EWtlsIllegalCall            = EWTLSRetCodeBase + 7,
   1.338 +	/** Connection close notify error. */
   1.339 +	EWtlsConnectionCloseNotify  = EWTLSRetCodeBase + 8,
   1.340 +	/** Close notify error. */
   1.341 +	EWtlsSessionCloseNotify     = EWTLSRetCodeBase + 9,
   1.342 +	/** No connection. */
   1.343 +	EWtlsNoConnection           = EWTLSRetCodeBase + 10,
   1.344 +	/** Unexpected message. */
   1.345 +	EWtlsUnexpectedMessage      = EWTLSRetCodeBase + 11,
   1.346 +	/** Bad MAC record. */
   1.347 +	EWtlsBadRecordMac           = EWTLSRetCodeBase + 12,
   1.348 +	/** Decryption failed. */
   1.349 +	EWtlsDecryptionFailed       = EWTLSRetCodeBase + 13,
   1.350 +	/** Record overflow. */
   1.351 +	EWtlsRecordOverflow         = EWTLSRetCodeBase + 14,
   1.352 +	/** Handshake failure. */
   1.353 +	EWtlsHandshakeFailure       = EWTLSRetCodeBase + 15,
   1.354 +	/** Decompression failure. */
   1.355 +	EWtlsDecompressionFailure   = EWTLSRetCodeBase + 16,
   1.356 +	/** Bad certificate. */
   1.357 +	EWtlsBadCertificate         = EWTLSRetCodeBase + 17,
   1.358 +	/** Unsupported certificate. */
   1.359 +	EWtlsUnsupportedCertificate = EWTLSRetCodeBase + 18,
   1.360 +	/** Certificate revoked. */
   1.361 +	EWtlsCertificateRevoked     = EWTLSRetCodeBase + 19,
   1.362 +	/** Certificate expired. */
   1.363 +	EWtlsCertificateExpired     = EWTLSRetCodeBase + 20,
   1.364 +	/** Certificate unknown. */
   1.365 +	EWtlsCertificateUnknown     = EWTLSRetCodeBase + 21,
   1.366 +	/** Illegal parameter. */
   1.367 +	EWtlsIllegalParameter       = EWTLSRetCodeBase + 22,
   1.368 +	/** Unknown certificate authority. */
   1.369 +	EWtlsUnknownCA              = EWTLSRetCodeBase + 23,
   1.370 +	/** Access denied. */
   1.371 +	EWtlsAccessDenied           = EWTLSRetCodeBase + 24,
   1.372 +	/** Decoding error. */
   1.373 +	EWtlsDecodeError            = EWTLSRetCodeBase + 25,
   1.374 +	/** Decryption error. */
   1.375 +	EWtlsDecryptError           = EWTLSRetCodeBase + 26,
   1.376 +	/** Unknown key ID. */
   1.377 +	EWtlsUnknownKeyId           = EWTLSRetCodeBase + 27,
   1.378 +	/** Disabled key ID. */
   1.379 +	EWtlsDisableKeyId           = EWTLSRetCodeBase + 28,
   1.380 +	/** Key exchange disabled. */
   1.381 +	EWtlsKeyExchangeDisabled    = EWTLSRetCodeBase + 29,
   1.382 +	/** Session not ready. */
   1.383 +	EWtlsSessionNotReady        = EWTLSRetCodeBase + 30,
   1.384 +	/** Unknown parameter index. */
   1.385 +	EWtlsUnknownParameterIndex  = EWTLSRetCodeBase + 31,
   1.386 +	/** Duplicate finished Recv() call. */
   1.387 +	EWtlsDuplicateFinishedRecv  = EWTLSRetCodeBase + 32,
   1.388 +	/** Export restriction error. */
   1.389 +	EWtlsExportRestriction      = EWTLSRetCodeBase + 33,
   1.390 +	/** Protocol version error. */
   1.391 +	EWtlsProtocolVersion        = EWTLSRetCodeBase + 34,
   1.392 +	/** Insufficient security. */
   1.393 +	EWtlsInsufficientSecurity   = EWTLSRetCodeBase + 35,
   1.394 +	/** Internal error. */
   1.395 +	EWtlsInternalError          = EWTLSRetCodeBase + 36,
   1.396 +	/** User cancelled operation. */
   1.397 +	EWtlsUserCanceled           = EWTLSRetCodeBase + 37,
   1.398 +	/** No renegotiation. */
   1.399 +	EWtlsNoRenegotiation        = EWTLSRetCodeBase + 38,
   1.400 +
   1.401 +	/** General error. */
   1.402 +	EWtlsErrGeneral             = EWTLSRetCodeBase + 39,
   1.403 +	/** Bulk algorithm error. */
   1.404 +	EWtlsErrBulk                = EWTLSRetCodeBase + 40,
   1.405 +	/** MAC algorithm error. */
   1.406 +	EWtlsErrMac                 = EWTLSRetCodeBase + 41,
   1.407 +	/** Sequence number mode error. */
   1.408 +	EWtlsErrSequenceNumberMode  = EWTLSRetCodeBase + 42,
   1.409 +	/** Key refresh rate error. */
   1.410 +	EWtlsErrKeyRefreshRate      = EWTLSRetCodeBase + 43,
   1.411 +
   1.412 +	};
   1.413 +
   1.414 +/** Connection-orientated WSP error codes. */
   1.415 +enum TWspCoReturnCodes
   1.416 +	{
   1.417 +	/** Given buffer is too small. */
   1.418 +	EWspCoBufferTooSmall      = EWSPCORetCodeBase + 0,
   1.419 +	/** Session handle is not valid. */
   1.420 +	EWspCoInvalidSession      = EWSPCORetCodeBase + 1,
   1.421 +	/** Invalid transaction. */
   1.422 +	EWspCoInvalidTransaction  = EWSPCORetCodeBase + 2,
   1.423 +	/** Given parameter is invalid. */
   1.424 +	EWspCoParameterError      = EWSPCORetCodeBase + 3,
   1.425 +	/** Session is not connected. */
   1.426 +	EWspCoSessionNotConnected = EWSPCORetCodeBase + 4,
   1.427 +	/** Functionality is not supported in this session. */
   1.428 +	EWspCoNotSupported        = EWSPCORetCodeBase + 5,
   1.429 +	/** Function is not applicable in this state of an object. */
   1.430 +	EWspCoInvalidState        = EWSPCORetCodeBase + 6,
   1.431 +	/** Session has been closed. */
   1.432 +	EWspCoSessionClosed       = EWSPCORetCodeBase + 7,
   1.433 +	/** Server MRU exceeded. */
   1.434 +	EWspCoMRUExceeded         = EWSPCORetCodeBase + 8,
   1.435 +	/** Invalid buffer size. */
   1.436 +	EWspCoInvalidBufferSize   = EWSPCORetCodeBase + 9,
   1.437 +	/** Data not available. */
   1.438 +	EWspCoDataNotAvailable    = EWSPCORetCodeBase + 10,
   1.439 +	/** Timeout error. */
   1.440 +	EWspCoErrorTimeout        = EWSPCORetCodeBase + 11
   1.441 +	};
   1.442 +	
   1.443 +
   1.444 +/** Connectionless WSP error codes. */
   1.445 +enum TWspClReturnCodes
   1.446 +	{			
   1.447 +	/** Given buffer is too small. */
   1.448 +	EWspClBufferTooSmall      = EWSPCLRetCodeBase + 0,
   1.449 +	/** Session handle is not valid. */
   1.450 +	EWspClInvalidSession      = EWSPCLRetCodeBase + 1,
   1.451 +	/** Given parameter is invalid. */
   1.452 +	EWspClParameterError      = EWSPCLRetCodeBase + 2,
   1.453 +	/** Session is not connected. */
   1.454 +	EWspClSessionNotConnected = EWSPCLRetCodeBase + 3,
   1.455 +	/** Functionality is not supported in this session. */
   1.456 +	EWspClNotSupported        = EWSPCLRetCodeBase + 4,
   1.457 +	/** Function is not applicable in this state of an object. */
   1.458 +	EWspClInvalidState        = EWSPCLRetCodeBase + 5,
   1.459 +	/** Session has been closed. */
   1.460 +	EWspClSessionClosed       = EWSPCLRetCodeBase + 6,
   1.461 +	/** Server MRU exceeded. */
   1.462 +	EWspClMRUExceeded		 = EWSPCLRetCodeBase + 7,	
   1.463 +	/** Invalid buffer size. */
   1.464 +	EWspClInvalidBufferSize   = EWSPCLRetCodeBase + 8,
   1.465 +	/** Data not available. */
   1.466 +	EWspClDataNotAvailable    = EWSPCLRetCodeBase + 9,
   1.467 +	/** Timeout error. */
   1.468 +	EWspClErrorTimeout        = EWSPCLRetCodeBase + 10
   1.469 +	};
   1.470 +
   1.471 +/** WTP-related error codes. */
   1.472 +enum TWtpReturnCodes
   1.473 +	{
   1.474 +	/** Out of memory. */
   1.475 +	EWtpNoMemory                 = EWTPRetCodeBase + 0,
   1.476 +	/** Invalid argument. */
   1.477 +	EWtpBadArgument              = EWTPRetCodeBase + 1,
   1.478 +	/** Provider aborted. */
   1.479 +	EWtpProviderProtoErr         = EWTPRetCodeBase + 2,
   1.480 +	/** Provider aborted. */
   1.481 +	EWtpProviderAbortInvalidTID  = EWTPRetCodeBase + 3,
   1.482 +	/** Provider aborted. */
   1.483 +	EWtpProviderAbortNoClass2    = EWTPRetCodeBase + 4,
   1.484 +	/** Provider aborted. */
   1.485 +	EWtpProviderAbortNoSAR       = EWTPRetCodeBase + 5,
   1.486 +	/** Provider aborted. */
   1.487 +	EWtpProviderAbortNoUACK      = EWTPRetCodeBase + 6,
   1.488 +	/** Provider aborted. */
   1.489 +	EWtpProviderAbortVers1       = EWTPRetCodeBase + 7,
   1.490 +	/** Provider aborted. */
   1.491 +	EWtpProviderAbortNoResponse  = EWTPRetCodeBase + 8,
   1.492 +	/** Provider aborted. */
   1.493 +	EWtpProviderAbortMsgTooLarge = EWTPRetCodeBase + 9,
   1.494 +	/** Provider aborted. */
   1.495 +	EWtpProviderAbortGeneral     = EWTPRetCodeBase + 10,
   1.496 +	/** Service has shutdown. */
   1.497 +	EWtpShutdownError            = EWTPRetCodeBase + 11
   1.498 +	};
   1.499 +}
   1.500 +
   1.501 +#endif // __WAPMSGERR_H__