There is a C++ snippet which has to use some old plain C event_handler functions.
The event_handler has this common signature:
add_event_handl