PRInt32 index = 0; return wallet_ReadFromList(item1, item2, itemList, list, index);
if (!list || (index == -1)) { return PR_FALSE; }   wallet_MapElement * ptr; item1.ToLowerCase(); PRInt32 count = LIST_COUNT(list); for (PRInt32 i=index; i<count; i++) { ptr = NS_STATIC_CAST(wallet_MapElement*, list->ElementAt(i)); if((ptr->item1->Compare(item1))==0) { item2 = nsAutoString(*ptr->item2); itemList = ptr->itemList; index = i+1; if (index == count) { index = -1; } return PR_TRUE; } } index = 0; return PR_FALSE;
wallet_ReadFromList(  nsAutoString item1,  nsAutoString& item2,  nsVoidArray*& itemList,  nsVoidArray*& list){  PRInt32 index = 0;  return wallet_ReadFromList(item1, item2, itemList, list, index);}