int lookup(char *buf)
lookup(const char *buf)
int lookup(char *buf){    int size,i;    int buflen;    buflen = strlen(buf);    for ( i = 0; i < commandCount; i++) {	size = strlen(commands[i].fname);	if (size > buflen) {	    continue;	}	if (PL_strncasecmp(buf,commands[i].fname,size) == 0) {	    return i;	}	if (size-2 > buflen) {	    continue;	}	if (commands[i].fname[0] == 'C' && commands[i].fname[1] == '_' &&		(PL_strncasecmp(buf,&commands[i].fname[2],size-2) == 0)) {	    return i;	}    }    fprintf(stderr,"Can't find command %s\n",buf);    return -1;}