it looks like wanting some node_events.h