1. 21 Dec, 2018 2 commits
    • Taylor Yu's avatar
      Add origin circuit event pubsub system · a0b4fa1f
      Taylor Yu authored
      Add a publish-subscribe subsystem to publish messages about changes to
      origin circuits.
      
      Functions in circuitbuild.c and circuitlist.c publish messages to this
      subsystem.
      
      Move circuit event constants out of control.h so that subscribers
      don't have to include all of control.h to take actions based on
      messages they receive.
      
      Part of ticket 27167.
      a0b4fa1f
    • Taylor Yu's avatar
      Add ORCONN event pubsub system · 271b50f5
      Taylor Yu authored
      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.
      271b50f5
  2. 20 Dec, 2018 21 commits
  3. 19 Dec, 2018 2 commits
  4. 18 Dec, 2018 15 commits