ptp event registration prototype