diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-13 07:01:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-13 07:01:46 +0000 |
commit | 9e6f4a30296815aab99393218c75b44d1aca25e4 (patch) | |
tree | 32079c3b86579348d8a92ebfe6f26bb9c75f0b15 /src/or/or.h | |
parent | 5458ca39e8fd0ef582f3ed690fa589e44daf5c6b (diff) | |
download | tor-9e6f4a30296815aab99393218c75b44d1aca25e4.tar tor-9e6f4a30296815aab99393218c75b44d1aca25e4.tar.gz |
revamp circuit node selection to use smartlists:
* now we know for sure if an acceptable node is available; we
don't have to keep guessing and checking
* we try options.EntryNodes first for picking the first node
svn:r904
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index bf5e9dbc6..19fd2dff1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -701,8 +701,6 @@ void onion_pending_remove(circuit_t *circ); int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *keys); -char **parse_nickname_list(char *start, int *num); - int onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t *state, routerinfo_t **router_out); @@ -743,7 +741,6 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router, /********************************* routerlist.c ***************************/ routerinfo_t *router_pick_directory_server(void); -routerinfo_t *router_pick_randomly_from_running(void); routerinfo_t *router_get_by_addr_port(uint32_t addr, uint16_t port); routerinfo_t *router_get_by_link_pk(crypto_pk_env_t *pk); routerinfo_t *router_get_by_nickname(char *nickname); |