Functions in
event-source.h