tor/src/core
Taylor Yu 271b50f54a Add ORCONN event pubsub system
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.
2018-12-20 18:46:17 -06:00
..
crypto Move the non-crypto parts of onion.c out of src/core/crypto 2018-09-21 09:14:05 -04:00
mainloop Add ORCONN event pubsub system 2018-12-20 18:46:17 -06:00
or Add ORCONN event pubsub system 2018-12-20 18:46:17 -06:00
proto Move buffers.c out of lib/containers to resolve a circularity. 2018-11-14 16:07:03 -05:00
include.am Add ORCONN event pubsub system 2018-12-20 18:46:17 -06:00