9 char * copystr(const char *buf) {
15 char *ptr=new char[i+1];
22 unsigned int hashstring(char *strptr) {
23 unsigned int hashcode=0;
24 int *intptr=(int *) strptr;
29 if((copy1&0xFF000000)&&
36 if (!copy1&0xFF000000)
37 hashcode^=copy1&0xFF000000;
38 else if (!copy1&0xFF0000)
39 hashcode^=copy1&0xFF0000;
40 else if (!copy1&0xFF00)
41 hashcode^=copy1&0xFF00;
49 int equivalentstrings(char *str1, char *str2) {
50 if ((str1!=NULL)&&(str2!=NULL)) {
51 if (strcmp(str1,str2)!=0)
55 } else if ((str1==NULL)&&(str2==NULL))