Try to make most routerinfo_t interfaces const

This commit is contained in:
Nick Mathewson
2010-09-29 00:38:32 -04:00
parent fe309e7ad6
commit d84d20cbb2
26 changed files with 251 additions and 234 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ void dirserv_orconn_tls_done(const char *address,
uint16_t or_port,
const char *digest_rcvd,
int as_advertised);
int dirserv_should_launch_reachability_test(routerinfo_t *ri,
routerinfo_t *ri_old);
int dirserv_should_launch_reachability_test(const routerinfo_t *ri,
const routerinfo_t *ri_old);
void dirserv_single_reachability_test(time_t now, routerinfo_t *router);
void dirserv_test_reachability(time_t now);
int authdir_wants_to_reject_router(routerinfo_t *ri, const char **msg,