aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-03 10:28:51 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-03 10:28:51 +0000
commit63f81bddae0e5b80d2702ee7780346d03bdad84f (patch)
tree1ee4c70553f9c84619ed4482c49717d383c14e76 /src/or/or.h
parent99db996aeff89448dd3adac8c525c6e134d64301 (diff)
downloadtor-63f81bddae0e5b80d2702ee7780346d03bdad84f.tar
tor-63f81bddae0e5b80d2702ee7780346d03bdad84f.tar.gz
pick nodes for a circuit only from those the directory says are up
svn:r880
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 37c51c3be..6d7500720 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -730,15 +730,14 @@ cpath_build_state_t *onion_new_cpath_build_state(void);
/********************************* routers.c ***************************/
-int learn_my_address(struct sockaddr_in *me);
void router_retry_connections(void);
routerinfo_t *router_pick_directory_server(void);
+routerinfo_t *router_pick_randomly_from_running(void);
void router_upload_desc_to_dirservers(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);
void router_get_directory(directory_t **pdirectory);
-int router_is_me(uint32_t addr, uint16_t port);
void router_mark_as_down(char *nickname);
int router_get_list_from_file(char *routerfile);
int router_get_router_hash(char *s, char *digest);