Structure of a fungal protein