eapol/eapol_framework/eapol_symbian/am/type/tls_peap/symbian/plugin/inc/EapTlsPeapUtils.h
changeset 49 43351a4f2da3
parent 34 ad1f037f1ac2
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 37 %
    19 * %version: 39 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _EAPTLSPEAPUTILS_H_
    22 #ifndef _EAPTLSPEAPUTILS_H_
    23 #define _EAPTLSPEAPUTILS_H_
    23 #define _EAPTLSPEAPUTILS_H_
    24 
    24 
   204 		const eap_type_value_e aTunnelingType,
   204 		const eap_type_value_e aTunnelingType,
   205 		const eap_type_value_e aEapType,
   205 		const eap_type_value_e aEapType,
   206 		const TDesC& aDbColumnName,
   206 		const TDesC& aDbColumnName,
   207 		const eap_variable_data_c * const aDbColumnValue);		
   207 		const eap_variable_data_c * const aDbColumnValue);		
   208 
   208 
       
   209 #if defined(USE_FAST_EAP_TYPE)
       
   210 
       
   211 	// CPacStoreDatabase uses this too.
       
   212 	static void OpenFastDatabaseL(
       
   213 		RDbNamedDatabase& aDatabase,
       
   214 		RFs& aFileServerSession,
       
   215 		const TIndexType aIndexType,
       
   216 		const TInt aIndex,
       
   217 		const eap_type_value_e aTunnelingType);
       
   218 
       
   219 #endif // #if defined(USE_FAST_EAP_TYPE)
       
   220 
   209 private:
   221 private:
   210 
   222 
   211 	static void OpenTlsDatabaseL(
   223 	static void OpenTlsDatabaseL(
   212 		RDbNamedDatabase& aDatabase,
   224 		RDbNamedDatabase& aDatabase,
   213 		RFs& aFileServerSession,
   225 		RFs& aFileServerSession,
   230 		const TIndexType aIndexType,
   242 		const TIndexType aIndexType,
   231 		const TInt aIndex,
   243 		const TInt aIndex,
   232 		const eap_type_value_e aTunnelingType);
   244 		const eap_type_value_e aTunnelingType);
   233 
   245 
   234 #endif // #if defined(USE_TTLS_EAP_TYPE)
   246 #endif // #if defined(USE_TTLS_EAP_TYPE)
   235 
       
   236 #if defined(USE_FAST_EAP_TYPE)
       
   237 
       
   238 	static void OpenFastDatabaseL(
       
   239 		RDbNamedDatabase& aDatabase,
       
   240 		RFs& aFileServerSession,
       
   241 		const TIndexType aIndexType,
       
   242 		const TInt aIndex,
       
   243 		const eap_type_value_e aTunnelingType);
       
   244 
       
   245 #endif // #if defined(USE_FAST_EAP_TYPE)
       
   246 
   247 
   247 	static void AddExtraCertColumnsL(
   248 	static void AddExtraCertColumnsL(
   248 		RDbNamedDatabase& aDatabase, 
   249 		RDbNamedDatabase& aDatabase, 
   249 		TDesC& aTableName);	
   250 		TDesC& aTableName);	
   250 
   251