networksecurity/ipsec/ipsecpolapi/inc/ipsecpolapi.h
branchRCL_3
changeset 21 abbed5a4b42a
parent 20 7e41d162e158
child 22 8d540f55e491
--- a/networksecurity/ipsec/ipsecpolapi/inc/ipsecpolapi.h	Thu Aug 19 11:25:30 2010 +0300
+++ b/networksecurity/ipsec/ipsecpolapi/inc/ipsecpolapi.h	Tue Aug 31 16:45:15 2010 +0300
@@ -156,9 +156,6 @@
 const TInt KAddIkeBypassSelectors =  (1 << 0);   //< Add IKE bypass selectors to the policy
 const TInt KAddIpsecBypassSelectors =  (1 << 1); //< Add an bypass selector for traffic identified with a TIpsecSelectorInfo structure
 const TInt KAddDhcpBypassSelectors =  (1 << 2);  //< Add DHCP bypass selectors to the policy
-
-const TInt KAddUMAExceptionSelectors = (1<<3);   ///< Add UMA information to the policy
-
 /*
  * A flag uset in GetDebugInfo call.
  *
@@ -167,19 +164,6 @@
 const TInt KParsingErrorInfo =  (1 << 1);        //< Return information about a policy parsing error
 
 /**
- * An integer constant which identifies an option.Level
- *
- **/
-const TInt KOptionLevelDefault = 0x1000;
-
-
-/**
- * An integer constant which identifies an option.
- *
- **/
-const TInt KOptionNameSid = 0x1020;
-
-/**
  * IPSec Policy API methods return the following error codes
  * in the TRequestStatus parameter.
  * NOTE! The error code values below MUST be kept in sync with
@@ -206,8 +190,6 @@
 
 typedef TPckg<TInetAddr> TInetAddrPckg;
 
-
-
 /**
  * RIpsecPolicyServ API is used by clients to:
  *    Users who load and unload policies
@@ -418,22 +400,7 @@
 	 *		system wide error codes.
      */ 
     IMPORT_C void AvailableSelectors(const TDesC8& aGateway, CArrayFixFlat<TIpsecSelectorInfo>* aSelectors, TRequestStatus& aStatus);
-
-	/**
-	 *Sets an option.
-	 *RIpsecPolicyServ implementations may provide options that can be set with this method.
-	 *Eg:- Seting SID of an appliction that is going to load policy file. Then that application
-	 *Can call this api with option name 'KOptionLevelDefault' and option level 'KOptionNameSid' and provide the SID value.
-	 *
-	 *@param aOptionName : An integer constant which identifies an option
-	 *@param aOptionLevel  : An integer constant which identifies level of an option 
-	 *@param aOption  : An option value as descriptor
-	 *@return TInt:	KErrNone if succsess 
-	 */
-	IMPORT_C TInt SetOpt(TUint aOptionName, TUint aOptionLevel, const TDesC8 &aOption);
-
-
-private:	
+private:
 	void EnumerateSelectors(const TDesC8& aGateway, TInt& aCount);
 
 private: