diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-05-09 02:00:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-05-09 02:00:33 +0000 |
commit | 9ef930f21add3cb65673ef74358a00ab42487d5c (patch) | |
tree | 17d2a7426eddde3c1dcd510039ddea0e3ed3ed8c /src/or/or.h | |
parent | c2e7b5ec3fd019cb1321829c45b6ccbc689609a0 (diff) | |
download | tor-9ef930f21add3cb65673ef74358a00ab42487d5c.tar tor-9ef930f21add3cb65673ef74358a00ab42487d5c.tar.gz |
Routerinfos are no longer linked
svn:r283
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index cf16c22e6..8f4366d3d 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -325,10 +325,9 @@ typedef struct { /* link info */ uint32_t bandwidth; struct exit_policy_t *exit_policy; - - void *next; } routerinfo_t; +#define MAX_ROUTERS_IN_DIR 1024 typedef struct { routerinfo_t **routers; int n_routers; @@ -811,7 +810,7 @@ int router_get_dir_from_string_impl(char *s, directory_t **dest, crypto_pk_env_t *pkey); routerinfo_t *router_get_entry_from_string(char **s); int router_compare_to_exit_policy(connection_t *conn); -void routerlist_free(routerinfo_t *list); +void routerinfo_free(routerinfo_t *router); #endif |