> That was the obvious one, I just thought there may have been a > compatibility > function around, or an example of a hash etc that was needed elsewhere Slightly overtuned, but you may let "gperf" generate a perfect hash function for the names you support... Or simply order the mentioned if elseif cascade in order of FS type probability. Martin