|
1 // Copyright (c) 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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @publishedPartner |
|
19 @released |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #if !defined(__ES_PANIC_PARTNER_H__) |
|
25 #define __ES_PANIC_PARTNER_H__ |
|
26 |
|
27 |
|
28 #include <e32base.h> |
|
29 |
|
30 /** The panic category for panics caused by protocol modules (was "eSock protocol" in previous versions) |
|
31 @publishedPartner |
|
32 @released |
|
33 @see TProtocolPanic |
|
34 */ |
|
35 _LIT(KESockProtocolPanic, "ESock_protocol"); |
|
36 |
|
37 /** The panic numbers for panics caused by protocol modules |
|
38 @publishedPartner |
|
39 @released |
|
40 @see KESockProtocolPanic |
|
41 */ |
|
42 enum TProtocolPanic |
|
43 { |
|
44 ENothingToComplete = 0, |
|
45 EUnexpectedConnect = 1, |
|
46 EUnexpectedClose = 2, |
|
47 EUnexpectedConnectData = 3, |
|
48 EUnexpectedDisconnectData = 4, |
|
49 ERemoveRefused = 5, |
|
50 EBadStateUpCall = 6, |
|
51 EBadDataCount = 7, |
|
52 EBadErrorCall = 8, |
|
53 EBadDisconnect = 9, |
|
54 EBadByteCount = 10, |
|
55 EBadProtocolDescription = 11, |
|
56 EErrorCallNotHandled = 12, |
|
57 ECantProcessDescriptors = 13, |
|
58 ECantProcessMbufs = 14, |
|
59 ECantSendDescriptors = 15, |
|
60 ECantSendMBufs = 16, |
|
61 EDoesNotBindAbove = 17, |
|
62 EDoesNotBindBelow = 18, |
|
63 ENotListeningSocket = 19, |
|
64 EAcceptQueFull = 20, |
|
65 EProviderIncomplete = 21, |
|
66 ENullSap = 22, |
|
67 EBadResolverState = 23, |
|
68 EMisconfigured = 24, |
|
69 ECorruptIniData = 25, |
|
70 EDuplicateWorkerId = 26, |
|
71 ENonESockWorkerThread = 27, |
|
72 EBadSubSessionUniqueId = 28, |
|
73 EAmbigiousRoles = 29, |
|
74 EBadDisconnectFromListener = 30 |
|
75 }; |
|
76 |
|
77 |
|
78 #endif // __ES_PANIC_PARTNER_H__ |