#define NAME_BUFF_SIZE 50
#define PHONE_BUFF_SIZE 12+1 // +1 for end symbol

typedef struct Node 
{
	char name_[NAME_BUFF_SIZE];
	char phone_[PHONE_BUFF_SIZE];
	struct Node* next;
} Node;

typedef struct LinkedListPhoneNumbers {
	Node* HEAD;	
} LinkedListPhoneNumbers;

Node* insert(Node* head, char name[NAME_BUFF_SIZE], char phone[PHONE_BUFF_SIZE], int show);
void printAllNodes(Node* head);
void printNode(Node node);

char* find(Node* HEAD, char target_name[NAME_BUFF_SIZE]);


Node* deleteNode(Node* HEAD, char target_name[NAME_BUFF_SIZE]);


Node* listAll(Node* HEAD);

void printListNode(Node list[], int length);

int getListNodeLength(Node* HEAD);
