hash.c
entry_t *hT_pair(const char *key, const char* value){

	entry_t *newEntry = malloc(sizeof(entry_t) * 1);
	newEntry->key = malloc(strlen(key) + 1);
	newEntry->value = malloc(strlen(value) + 1);

	strcpy(newEntry->key, key);
	strcpy(newEntry->value, value);

	newEntry->next = NULL;

}
//helper function to add key value pair

helper function to add key value pair
helper function to add key value pair
entry_t *hT_pair(const char *key, const char* value){
	entry_t *newEntry = malloc(sizeof(entry_t) * 1);
	newEntry->key = malloc(strlen(key) + 1);
	newEntry->value = malloc(strlen(value) + 1);
	strcpy(newEntry->key, key);
	strcpy(newEntry->value, value);
	newEntry->next = NULL;
}
entry_t * hT_pair ( const char * key , const char * value ) { entry_t * newEntry = malloc ( sizeof ( entry_t ) * 1 ) ; newEntry -> key = malloc ( strlen ( key ) + 1 ) ; newEntry -> value = malloc ( strlen ( value ) + 1 ) ; strcpy ( newEntry -> key , key ) ; strcpy ( newEntry -> value , value ) ; newEntry -> next = NULL ; }
helper function to add key value pair
helper function to add key value pair