s3:registry: extract reg_eventlog prototypes to header of their own