[tor-commits] [tor/master] main: Add mainloop callback event flags