#include <stdio.h>
#include <stdlib.h>
#include "htbl_string.h"

/* this file provides helper functions to store
 * strings into a hash table 
 */

/* print function */
void string_print(FILE *fp, void *str)
{
	fprintf(fp,"%s, ",(char *)str);
}


/* calculate a key from the string 
 * You need to develop an algorithm that you believe will
 * provide good coverage in providing unique keys whenever
 * possible.
 */
unsigned long int string_calc_key(void *str)
{
	fprintf(stderr,"Calculate_key not yet implemented\n");
	return 0;
}

/* use the strcmp function to compare two strings */
int string_compare(void *str1, void *str2)
{
	return 0;
}

