[tor-commits] [tor/master] Use typedefs for function pointer return values and s/listener/listener_fn/ for distinctness