char *constLookup(char *bp, CK_ULONG *value, ConstType *type)
constLookup(const char *bp, CK_ULONG *value, ConstType *type)
char *constLookup(char *bp, CK_ULONG *value, ConstType *type){    char vname[512];    int i;    bp = readChars(bp,vname,sizeof(vname));    for (i=0; i < constCount; i++) {	if ((PL_strcasecmp(consts[i].name,vname) == 0) ||		PL_strcasecmp(consts[i].name+5,vname) == 0) {	    *value = consts[i].value;	    *type = consts[i].type;	    return bp;	}    }    *type = ConstNone;    if (vname[0] == '0' && vname[1] == 'X') {	*value = htoi(&vname[2]);    } else if (vname[0] == '0') {	*value = otoi(&vname[1]);    } else {    	*value = atoi(vname);    }    return bp;}