aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/orconn_event.c
AgeCommit message (Collapse)Author
2020-02-24Merge ocirc and orconn events into or subsystem.Nick Mathewson
Pubsub events are not supposed to have their own subsystems; they're supposed to be part of a parent subsystem.
2020-02-13Re-order most subsystems to correspond to dependency order.Nick Mathewson
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-06-11Rework orconn tracking to use pubsubTaylor Yu
Part of ticket 29976.
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-21Merge branch 'orconn-tracker_squashed'Nick Mathewson
2018-12-20Add ORCONN event pubsub systemTaylor Yu
Add a publish-subscribe subsystem to publish messages about changes to OR connections. connection_or_change_state() in connection_or.c and control_event_or_conn_event() in control.c publish messages to this subsystem via helper functions. Move state constants from connection_or.h to orconn_state.h so that subscribers don't have to include all of connection_or.h to take actions based on changes in OR connection state. Move event constants from control.h for similar reasons. Part of ticket 27167.