equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003-2009 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: Internal address structure |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_INTERNALADDRESS_H |
|
20 #define C_INTERNALADDRESS_H |
|
21 |
|
22 #include <in_sock.h> |
|
23 |
|
24 /** |
|
25 * Internal address structure. |
|
26 * This class contains internal address in secure network and all DNS |
|
27 * addresses related to that secure network. |
|
28 * |
|
29 * @lib ikeutils.lib |
|
30 */ |
|
31 class CInternalAddress : public CArrayPtrFlat<TInetAddr> |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Constructor. |
|
36 * @param aGranularity Granularity |
|
37 */ |
|
38 IMPORT_C CInternalAddress( TInt aGranularity ); |
|
39 |
|
40 /** |
|
41 * Destructor. |
|
42 */ |
|
43 ~CInternalAddress(); |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * @param aInternalAddress Internal address |
|
48 */ |
|
49 IMPORT_C static CInternalAddress* NewL( const CInternalAddress& aInternalAddress ); |
|
50 |
|
51 /** |
|
52 * Copies internal address. |
|
53 * @param aInternalAddress Internal address |
|
54 */ |
|
55 IMPORT_C void CopyL( const CInternalAddress& aData ); |
|
56 |
|
57 public: // data |
|
58 |
|
59 /** |
|
60 * Internal address. |
|
61 * Own. |
|
62 */ |
|
63 TInetAddr iClientIntAddr; |
|
64 }; |
|
65 |
|
66 #endif // C_INTERNALADDRESS_H |
|
67 |