eapol/eapol_framework/eapol_symbian/am/type/securid/symbian/plugin/inc/EapGtcDbUtils.h
--- a/eapol/eapol_framework/eapol_symbian/am/type/securid/symbian/plugin/inc/EapGtcDbUtils.h Tue Aug 31 15:16:37 2010 +0300
+++ b/eapol/eapol_framework/eapol_symbian/am/type/securid/symbian/plugin/inc/EapGtcDbUtils.h Wed Sep 01 12:23:57 2010 +0100
@@ -16,7 +16,7 @@
*/
/*
-* %version: 8.1.6 %
+* %version: 10 %
*/
#ifndef EAPGTCDBUTILS_H
@@ -29,10 +29,21 @@
// LOCAL CONSTANTS
-// For EAP-GTC private database. Database will be in the private folder of EAP-server (20026FCB).
-// The maximum length of database name is 0x40 (KDbMaxName), which is defined in d32dbms.h.
+#ifdef SYMBIAN_SECURE_DBMS
+// For EAP GTC secure database.
+// Full path is not needed. The database eapgtc.dat will be saved in the
+// data cage path for DBMS. So it will be in "\private\100012a5\eapgtc.dat" in C: drive.
+// The maximum length of database name is 0x40 (KDbMaxName) , which is defined in d32dbms.h.
+
+_LIT(KGtcDatabaseName, "c:eapgtc.dat");
-_LIT(KEapGtcDatabaseName, "eapgtc.dat");
+_LIT(KGtcSecureUIDFormat, "SECURE[102072e9]"); // For the security policy.
+
+#else
+
+_LIT(KGtcDatabaseName, "c:\\system\\data\\eapgtc.dat");
+
+#endif // #ifdef SYMBIAN_SECURE_DBMS
_LIT(KGtcTableName, "eapgtc");
@@ -49,8 +60,8 @@
* @param aIndex Index
*/
static void OpenDatabaseL(
- RDbNamedDatabase& aDatabase,
- RFs& aFileServerSession,
+ RDbNamedDatabase& aDatabase,
+ RDbs& aSession,
const TIndexType aIndexType,
const TInt aIndex,
const eap_type_value_e aTunnelingType);
@@ -94,6 +105,7 @@
const TIndexType aIndexType,
const TInt aIndex,
const eap_type_value_e aTunnelingType);
+
};
#endif // EAPGTCBUTILS_H