Can someone plus lead me in the right direction with this problem?

1.) Write a function to add an item to the list, given a name and a phone number as arguments. Don't forget to allocate memory for each of the data items in the node; return a success or fail flag:

Here's what I have:
int add_item (char a_name[], char a_phone[])

Ok you have the function prototype, now create a structure with the required data members and a pointer to the head of the linked list. After that fill in the function you posted with the code. Read some of the other threads here and you will find several similar examples.