moved RHC prototypes into src.