wallet_KeyResetTime();
wallet_Initialize() {  static PRBool wallet_Initialized = PR_FALSE;  static PRBool wallet_keyInitialized = PR_FALSE;  if (!wallet_Initialized) {    wallet_ReadFromFile("FieldSchema.tbl", wallet_FieldToSchema_list, PR_FALSE, PR_FALSE);    wallet_ReadFromURLFieldToSchemaFile("URLFieldSchema.tbl", wallet_URLFieldToSchema_list);    wallet_ReadFromFile("SchemaConcat.tbl", wallet_SchemaConcat_list, PR_FALSE, PR_FALSE);    wallet_Initialized = PR_TRUE;  }  /* see if key has timed out */  if (wallet_KeyTimedOut()) {    wallet_keyInitialized = PR_FALSE;  }  if (!wallet_keyInitialized) {    Wallet_RestartKey();    char * message = Wallet_Localize("IncorrectKey_TryAgain?");    while (!Wallet_SetKey(PR_FALSE)) {      if (Wallet_CancelKey() || (Wallet_KeySize() < 0) || !Wallet_Confirm(message)) {        PR_FREEIF(message);        return;      }    }    PR_FREEIF(message);    wallet_ReadFromFile(schemaValueFileName, wallet_SchemaToValue_list, PR_TRUE, PR_TRUE);    wallet_keyInitialized = PR_TRUE;  }#if DEBUG//    fprintf(stdout,"Field to Schema table \n");//    wallet_Dump(wallet_FieldToSchema_list);//    fprintf(stdout,"SchemaConcat table \n");//    wallet_Dump(wallet_SchemaConcat_list);//    fprintf(stdout,"URL Field to Schema table \n");//    char item1[100];//    wallet_MapElement * ptr;//    PRInt32 count = LIST_COUNT(wallet_URLFieldToSchema_list);//    for (PRInt32 i=0; i<count; i++) {//      ptr = NS_STATIC_CAST(wallet_MapElement*, wallet_URLFieldToSchema_list->ElementAt(i));//      ptr->item1->ToCString(item1, 100);//      fprintf(stdout, item1);//      fprintf(stdout,"\n");//      wallet_Dump(ptr->itemList);//    }//    fprintf(stdout,"Schema to Value table \n");//    wallet_Dump(wallet_SchemaToValue_list);#endif}