aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-19 00:45:17 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-19 00:45:17 +0000
commit58d27cfc2974af6d70a1b616f29230f5cc8d6620 (patch)
tree5f9bd060a497356ff40e0fd643228cd753a53ea2 /src/or/or.h
parent61a116b3da49bb8c49e4ca05da09ef7550cf0282 (diff)
downloadtor-58d27cfc2974af6d70a1b616f29230f5cc8d6620.tar
tor-58d27cfc2974af6d70a1b616f29230f5cc8d6620.tar.gz
r12800@catbus: nickm | 2007-05-18 20:45:15 -0400
Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first. svn:r10217
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 33aa81eb4..1f0da3265 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3094,6 +3094,7 @@ routerinfo_t *router_find_exact_exit_enclave(const char *address,
uint16_t port);
#define ROUTER_REQUIRED_MIN_BANDWIDTH 10000
+
#define ROUTER_MAX_DECLARED_BANDWIDTH INT32_MAX
int router_is_unreliable(routerinfo_t *router, int need_uptime,
int need_capacity, int need_guard);
@@ -3131,7 +3132,6 @@ void extrainfo_free(extrainfo_t *extrainfo);
void routerstatus_free(routerstatus_t *routerstatus);
void networkstatus_free(networkstatus_t *networkstatus);
void routerlist_free_all(void);
-routerinfo_t *routerinfo_copy(const routerinfo_t *router);
void router_set_status(const char *digest, int up);
void routerlist_remove_old_routers(void);
void networkstatus_list_clean(time_t now);