|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file contains the codes for WAP Push CO Watcher and Security Plugin |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file PUSHSTD.H |
|
20 */ |
|
21 |
|
22 #ifndef __PUSHSTD_H__ |
|
23 #define __PUSHSTD_H__ |
|
24 |
|
25 /** |
|
26 * Base values of code ranges. |
|
27 */ |
|
28 enum{ |
|
29 EWapPushRetCodeBase = -20000, //todo... |
|
30 }; |
|
31 |
|
32 /** |
|
33 * Return/leave codes for Wap Push CO Watcher and Security Plugin. |
|
34 */ |
|
35 typedef enum |
|
36 /** |
|
37 @internalComponent |
|
38 @released |
|
39 */ |
|
40 { |
|
41 EWapPushGeneralError = EWapPushRetCodeBase, // Unspecified error condition |
|
42 EWapPushCannotFindPlugin = EWapPushRetCodeBase - 1, // Plug-in server failed to create a Security plugin |
|
43 EWapPushWtlsConfigFailed = EWapPushRetCodeBase - 2, // Failed to configure the WTLS layer of the WAP Stack |
|
44 EWapPushWtlsBadServerCert = EWapPushRetCodeBase - 3, // WTLS rejected the certificate obtained from the WAP GW |
|
45 EWapPushWtlsServerCertRejected = EWapPushRetCodeBase - 4, // The user rejected the certificate from the WAP GW |
|
46 EWapPushWtlsCipherRejected = EWapPushRetCodeBase - 5, // The user rejected the cipher strength negotiated in WTLS |
|
47 EWapPushGatewayCannotBeReached = EWapPushRetCodeBase - 6, // A session could not be established with the WAP Gateway |
|
48 EWapPushGatewayTransactionAbort = EWapPushRetCodeBase - 7, // A transaction was aborted by the gateway or the stack |
|
49 EWapPushGatewaySessionDisconnect = EWapPushRetCodeBase - 8, // The session was disconnected by the WAP Gateway |
|
50 EWapPushCancellationAbort = EWapPushRetCodeBase - 9 // Error code for leave when cancellation has occured during RunL() |
|
51 } TWapPushReturnCode; |
|
52 |
|
53 |
|
54 #endif //__PUSHSTD_H__ |