vpnengine/ikeutils/inc/ipsecsalifetime.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     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:  IPSec SA lifetime structure
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_IPSECSALIFETIME_H
       
    20 #define T_IPSECSALIFETIME_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  *  IPSec SA lifetime structure.
       
    26  *
       
    27  *  @lib ikeutils.lib
       
    28  */
       
    29 class TIpsecSALifetime
       
    30     {    
       
    31 public:    
       
    32     IMPORT_C TIpsecSALifetime( TUint32 aAllocations,
       
    33                                const TInt64& aBytes,
       
    34                                const TInt64& aAddtime,
       
    35                                const TInt64& aUsetime );
       
    36     
       
    37     IMPORT_C TIpsecSALifetime& operator=( const TIpsecSALifetime& aSource );
       
    38     
       
    39 public: // data
       
    40     TUint32 iAllocations;
       
    41     TInt64 iBytes;
       
    42     TInt64 iAddtime;
       
    43     TInt64 iUsetime;    
       
    44     };
       
    45 
       
    46 #endif // T_IPSECSALIFETIME_H