Make generated callback handlers static
Move definition of struct timer_info to timer.h