int table::adtRetrieve(char * cpKey, char ** returnedList) { struct node * current; unsigned int adtHashPosition = 0; int i = 0; // calculate the hash into adtHashPosition current = adtHashTable[adtHashPosition]; if(!current) return 0; while(current) { returnedList[i++] = current->data; current = current->next; } return 1; }