equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Common constants are here, shared among client and server |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __COOKIE_COMMON_CONSTANTS_H__ |
|
21 #define __COOKIE_COMMON_CONSTANTS_H__ |
|
22 |
|
23 // CONSTANTS |
|
24 |
|
25 const TInt KCookieSessionBufferLength = 0x1000; |
|
26 |
|
27 // Dynamic array granularities |
|
28 const TInt KCookieStandardGranularity = 5; |
|
29 |
|
30 // Default HTTP request port is 80 |
|
31 _LIT8( KCookieDefaultRequestPort, "80" ); |
|
32 |
|
33 // For effective-host names |
|
34 _LIT8( KCookieLocalHostNamePostfix, ".local" ); |
|
35 |
|
36 // Version number that the client support |
|
37 _LIT8( KCookieKnownVersion, "1" ); |
|
38 |
|
39 // Domain separator character |
|
40 const TUint8 KCookieDomainSeparator = '.'; |
|
41 |
|
42 // Wildcard for pattern matching |
|
43 const TUint8 KCookieWildcardAsterisk = '*'; |
|
44 |
|
45 #endif // __COOKIE_COMMON_CONSTANTS_H__ |