First step in tidying up the LHASH code. The callback prototypes (and