vpnengine/vpnextapi/inc/vpnextapiservantdefs.h
branchRCL_3
changeset 22 9f4e37332ce5
equal deleted inserted replaced
20:352850cbed81 22:9f4e37332ce5
       
     1 /*
       
     2 * Copyright (c) 2010 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:  VPN External API servant definitions
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef VPNEXTAPISERVANTDEFS_H
       
    19 #define VPNEXTAPISERVANTDEFS_H
       
    20 
       
    21 const TInt KMaxProvisionServerUrlLength = 100;
       
    22 const TInt KMaxProvisionServerNameLength = 100;
       
    23 const TInt KMaxPolicyServerFileNameLength = 100;
       
    24 
       
    25 // VPN policy server settings file definition constants 
       
    26 const TInt KPolicyServerAddressLine = 1; //Address of the policy server
       
    27 const TInt KPolicyServerNameLine = 2; //Name of the server. Not has to be equal to real host name of server 
       
    28 const TInt KPolicyServerIapIdLine = 3; // Used IAP for policy provision operation
       
    29 const TInt KPolicyServerIapModeLine = 4; //Iap mode for used IAP (SNAP, AP)
       
    30 const TInt KPolicyFileLine = 5; //real file name of the imported policy in private dir
       
    31 const TInt KAgileProvisionVpnIapId = 6; //ID of created IAP for provisioned policy.
       
    32 
       
    33 
       
    34 _LIT(KProvisionServerSettings, "vpnpolicyserver");
       
    35 _LIT(KNullDesc, "");
       
    36 _LIT8(KNullDesc8, "");
       
    37 
       
    38 
       
    39 class TAgileProvisionServerLocals
       
    40 {
       
    41 public:
       
    42     TCmSettingSelection                        iSelection;
       
    43     TBuf8<KMaxProvisionServerUrlLength>        iServerAddress;
       
    44     TBuf<KMaxProvisionServerNameLength>        iServerNameLocal;
       
    45 };
       
    46 
       
    47 
       
    48 #endif // VPNEXTAPISERVANTDEFS_H