applayerpluginsandutils/httptransportplugins/httptransporthandler/httptransporthandlercommon.h
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 #ifndef __HTTPTRANSPORTHANDLERCOMMON_H__ |
|
17 #define __HTTPTRANSPORTHANDLERCOMMON_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 const TInt KIpv6MaxAddrSize = 39; |
|
22 |
|
23 /** A define that causes a leave to occur in OOM testing. |
|
24 */ |
|
25 #ifdef _DEBUG |
|
26 #define __OOM_LEAVE_TEST { HBufC* _a=HBufC::NewL(4);delete _a; } |
|
27 #else |
|
28 #define __OOM_LEAVE_TEST |
|
29 #endif |
|
30 |
|
31 #endif // __HTTPTRANSPORTHANDLERCOMMON_H__ |