diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-24 16:51:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-24 16:53:35 -0400 |
commit | 408ed52e3d5b9ec973f12ed21d2a77abc4f15d8f (patch) | |
tree | c6359fa828911540ea6ba8b6ade1ad0988ed8411 /src/or/control.h | |
parent | f9cd870f50d770f629e370583b0e9df2f8844436 (diff) | |
download | tor-408ed52e3d5b9ec973f12ed21d2a77abc4f15d8f.tar.gz tor-408ed52e3d5b9ec973f12ed21d2a77abc4f15d8f.zip |
Remove the AUTHDIR_NEWDESCS feature: nobody is using it any more
If somebody asks for it, log a warning.
Closes ticket 22377.
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/or/control.h b/src/or/control.h index 41a194bfcb..5f6dcc352b 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -33,7 +33,6 @@ void connection_control_closed(control_connection_t *conn); int connection_control_process_inbuf(control_connection_t *conn); -#define EVENT_AUTHDIR_NEWDESCS 0x000D #define EVENT_NS 0x000F int control_event_is_interesting(int event); @@ -64,10 +63,6 @@ int control_event_descriptors_changed(smartlist_t *routers); int control_event_address_mapped(const char *from, const char *to, time_t expires, const char *error, const int cached); -int control_event_or_authdir_new_descriptor(const char *action, - const char *desc, - size_t desclen, - const char *msg); int control_event_my_descriptor_changed(void); int control_event_network_liveness_update(int liveness); int control_event_networkstatus_changed(smartlist_t *statuses); @@ -169,8 +164,8 @@ void control_free_all(void); #define EVENT_WARN_MSG 0x000A #define EVENT_ERR_MSG 0x000B #define EVENT_ADDRMAP 0x000C -/* Exposed above */ -// #define EVENT_AUTHDIR_NEWDESCS 0x000D +/* There was an AUTHDIR_NEWDESCS event, but it no longer exists. We + can reclaim 0x000D. */ #define EVENT_DESCCHANGED 0x000E /* Exposed above */ // #define EVENT_NS 0x000F |