8 char * copystr(const char *buf) {
14 char *ptr=(char*)malloc(i+1);
21 unsigned int hashstring(char *strptr) {
22 unsigned int hashcode=0;
23 int *intptr=(int *) strptr;
28 if((copy1&0xFF000000)&&
35 if (!copy1&0xFF000000)
36 hashcode^=copy1&0xFF000000;
37 else if (!copy1&0xFF0000)
38 hashcode^=copy1&0xFF0000;
39 else if (!copy1&0xFF00)
40 hashcode^=copy1&0xFF00;
48 int equivalentstrings(char *str1, char *str2) {
49 if ((str1!=NULL)&&(str2!=NULL)) {
50 if (strcmp(str1,str2)!=0)
54 } else if ((str1==NULL)&&(str2==NULL))