diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-20 21:04:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-20 21:04:39 +0000 |
commit | 01bc03eff43775d5f293c63d1dec05650a84a420 (patch) | |
tree | e87f5d8c8c5d29eced92c407e8f96d215ea9d56a /src/or/or.h | |
parent | 0459db2c0d0e2af23b4db26ce4de555ee29eb7ec (diff) | |
download | tor-01bc03eff43775d5f293c63d1dec05650a84a420.tar.gz tor-01bc03eff43775d5f293c63d1dec05650a84a420.zip |
r9312@Kushana: nickm | 2006-10-20 14:45:22 -0400
Add an event type to tell the controller when our opinion of a router status has changed. I might have missed some cases here.
svn:r8781
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 1909bd811d..0550be302c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2115,6 +2115,8 @@ int control_event_or_authdir_new_descriptor(const char *action, const char *descriptor, const char *msg); int control_event_my_descriptor_changed(void); +int control_event_networkstatus_changed(smartlist_t *statuses); +int control_event_networkstatus_changed_single(local_routerstatus_t *rs); int init_cookie_authentication(int enabled); int decode_hashed_password(char *buf, const char *hashed); @@ -2682,6 +2684,7 @@ void router_reset_status_download_failures(void); int router_differences_are_cosmetic(routerinfo_t *r1, routerinfo_t *r2); const char *esc_router_info(routerinfo_t *router); +char *networkstatus_getinfo_helper_single(routerstatus_t *rs); int networkstatus_getinfo_helper(const char *question, char **answer); /********************************* routerparse.c ************************/ |