Rename "event_t" to "tevent_t", along with associated functions.