if (!value.Length()) { return; }   wallet_Initialize(); wallet_InitializeCurrentURL(doc);  nsAutoString oldValue;   nsAutoString schema; XP_List* FieldToSchema_list = wallet_FieldToSchema_list; XP_List* URLFieldToSchema_list = wallet_specificURLFieldToSchema_list; XP_List* SchemaToValue_list = wallet_SchemaToValue_list; XP_List* dummy;  if ((wallet_ReadFromList(field, schema, dummy, URLFieldToSchema_list) != -1) || (wallet_ReadFromList(field, schema, dummy, FieldToSchema_list) != -1)) {     if ((wallet_ReadFromList(schema, oldValue, dummy, SchemaToValue_list)==-1) || (oldValue != value)) {   nsAutoString * aValue = new nsAutoString(value); nsAutoString * aSchema = new nsAutoString(schema); dummy = 0; wallet_WriteToList(*aSchema, *aValue, dummy, wallet_SchemaToValue_list); wallet_WriteToFile("SchemaValue.tbl", wallet_SchemaToValue_list, TRUE); } } else {     if ((wallet_ReadFromList(field, oldValue, dummy, SchemaToValue_list)==-1) || (oldValue != value)) {   nsAutoString * aField = new nsAutoString(field); nsAutoString * aValue = new nsAutoString(value); dummy = 0; wallet_WriteToList(*aField, *aValue, dummy, wallet_SchemaToValue_list); wallet_WriteToFile("SchemaValue.tbl", wallet_SchemaToValue_list, TRUE); } }
WLLT_Capture(nsIDocument* doc, nsString field, nsString value) {}